Java Code Examples for org.chromium.chrome.browser.compositor.layouts.components.LayoutTab#isInitFromHostNeeded()
The following examples show how to use
org.chromium.chrome.browser.compositor.layouts.components.LayoutTab#isInitFromHostNeeded() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: StackLayout.java From delion with Apache License 2.0 | 4 votes |
@Override protected boolean initLayoutTabFromHost(LayoutTab layoutTab) { if (layoutTab.isInitFromHostNeeded()) mDelayedLayoutTabInitRequired = true; return false; }
Example 2
Source File: StackLayout.java From AndroidChromium with Apache License 2.0 | 4 votes |
@Override protected boolean initLayoutTabFromHost(LayoutTab layoutTab) { if (layoutTab.isInitFromHostNeeded()) mDelayedLayoutTabInitRequired = true; return false; }
Example 3
Source File: StackLayout.java From 365browser with Apache License 2.0 | 4 votes |
@Override protected boolean initLayoutTabFromHost(LayoutTab layoutTab) { if (layoutTab.isInitFromHostNeeded()) mDelayedLayoutTabInitRequired = true; return false; }
Example 4
Source File: Layout.java From delion with Apache License 2.0 | 3 votes |
/** * Initializes a {@link LayoutTab} with data from the {@link LayoutUpdateHost}. This function * eventually needs to be called but may be overridden to manage the posting traffic. * * @param layoutTab The {@link LayoutTab} To initialize from a * {@link Tab} on the UI thread. * @return Whether the asynchronous initialization of the {@link LayoutTab} has really * been posted. */ protected boolean initLayoutTabFromHost(LayoutTab layoutTab) { if (layoutTab.isInitFromHostNeeded()) { mUpdateHost.initLayoutTabFromHost(layoutTab.getId()); return true; } return false; }
Example 5
Source File: Layout.java From AndroidChromium with Apache License 2.0 | 3 votes |
/** * Initializes a {@link LayoutTab} with data from the {@link LayoutUpdateHost}. This function * eventually needs to be called but may be overridden to manage the posting traffic. * * @param layoutTab The {@link LayoutTab} To initialize from a * {@link Tab} on the UI thread. * @return Whether the asynchronous initialization of the {@link LayoutTab} has really * been posted. */ protected boolean initLayoutTabFromHost(LayoutTab layoutTab) { if (layoutTab.isInitFromHostNeeded()) { mUpdateHost.initLayoutTabFromHost(layoutTab.getId()); return true; } return false; }
Example 6
Source File: Layout.java From 365browser with Apache License 2.0 | 3 votes |
/** * Initializes a {@link LayoutTab} with data from the {@link LayoutUpdateHost}. This function * eventually needs to be called but may be overridden to manage the posting traffic. * * @param layoutTab The {@link LayoutTab} To initialize from a * {@link Tab} on the UI thread. * @return Whether the asynchronous initialization of the {@link LayoutTab} has really * been posted. */ protected boolean initLayoutTabFromHost(LayoutTab layoutTab) { if (layoutTab.isInitFromHostNeeded()) { mUpdateHost.initLayoutTabFromHost(layoutTab.getId()); return true; } return false; }