use of org.chromium.chrome.browser.compositor.layouts.LayoutManager in project AndroidChromium by JackyAndroid.
the class ChromeActivity method onBackPressed.
@Override
public final void onBackPressed() {
RecordUserAction.record("SystemBack");
if (mCompositorViewHolder != null) {
LayoutManager layoutManager = mCompositorViewHolder.getLayoutManager();
if (layoutManager != null && layoutManager.onBackPressed())
return;
}
ContentViewCore contentViewCore = getContentViewCore();
if (contentViewCore != null && contentViewCore.isSelectActionBarShowing()) {
contentViewCore.clearSelection();
return;
}
if (mContextualSearchManager != null && mContextualSearchManager.onBackPressed())
return;
if (handleBackPressed())
return;
super.onBackPressed();
}
Aggregations