org.chromium.chrome.browser.compositor.bottombar.OverlayPanelContentViewDelegate Java Examples

The following examples show how to use org.chromium.chrome.browser.compositor.bottombar.OverlayPanelContentViewDelegate. 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: ReaderModePanel.java    From delion with Apache License 2.0 5 votes vote down vote up
/**
 * @param context The current Android {@link Context}.
 * @param updateHost The {@link LayoutUpdateHost} used to request updates in the Layout.
 * @param eventHost The {@link EventFilterHost} for propagating events.
 * @param panelManager The {@link OverlayPanelManager} used to control panel show/hide.
 * @param contentViewDelegate Notifies the activity that a ContentViewCore has been created.
 */
public ReaderModePanel(Context context, LayoutUpdateHost updateHost, EventFilterHost eventHost,
            OverlayPanelManager panelManager,
            OverlayPanelContentViewDelegate contentViewDelegate) {
    super(context, updateHost, eventHost, panelManager);
    mSceneLayer = createNewReaderModeSceneLayer();
    mContentViewDelegate = contentViewDelegate;
}
 
Example #2
Source File: ReaderModePanel.java    From AndroidChromium with Apache License 2.0 5 votes vote down vote up
/**
 * @param context The current Android {@link Context}.
 * @param updateHost The {@link LayoutUpdateHost} used to request updates in the Layout.
 * @param eventHost The {@link EventFilterHost} for propagating events.
 * @param panelManager The {@link OverlayPanelManager} used to control panel show/hide.
 * @param contentViewDelegate Notifies the activity that a ContentViewCore has been created.
 */
public ReaderModePanel(Context context, LayoutUpdateHost updateHost, EventFilterHost eventHost,
            OverlayPanelManager panelManager,
            OverlayPanelContentViewDelegate contentViewDelegate) {
    super(context, updateHost, eventHost, panelManager);
    mSceneLayer = createNewReaderModeSceneLayer();
    mContentViewDelegate = contentViewDelegate;
}
 
Example #3
Source File: ReaderModePanel.java    From 365browser with Apache License 2.0 5 votes vote down vote up
/**
 * @param context The current Android {@link Context}.
 * @param updateHost The {@link LayoutUpdateHost} used to request updates in the Layout.
 * @param panelManager The {@link OverlayPanelManager} used to control panel show/hide.
 * @param contentViewDelegate Notifies the activity that a ContentViewCore has been created.
 */
public ReaderModePanel(Context context, LayoutUpdateHost updateHost,
        OverlayPanelManager panelManager, OverlayPanelContentViewDelegate contentViewDelegate) {
    super(context, updateHost, panelManager);
    mSceneLayer = createNewReaderModeSceneLayer();
    mContentViewDelegate = contentViewDelegate;
}
 
Example #4
Source File: ContextualSearchManager.java    From delion with Apache License 2.0 2 votes vote down vote up
/**
 * Sets the {@code OverlayPanelContentViewDelegate} associated with the Content View.
 * @param delegate
 */
public void setSearchContentViewDelegate(OverlayPanelContentViewDelegate delegate) {
    mSearchContentViewDelegate = delegate;
}
 
Example #5
Source File: ContextualSearchManager.java    From AndroidChromium with Apache License 2.0 2 votes vote down vote up
/**
 * Sets the {@code OverlayPanelContentViewDelegate} associated with the Content View.
 * @param delegate
 */
public void setSearchContentViewDelegate(OverlayPanelContentViewDelegate delegate) {
    mSearchContentViewDelegate = delegate;
}
 
Example #6
Source File: ContextualSearchManager.java    From 365browser with Apache License 2.0 2 votes vote down vote up
/**
 * Sets the {@code OverlayPanelContentViewDelegate} associated with the Content View.
 * @param delegate
 */
public void setSearchContentViewDelegate(OverlayPanelContentViewDelegate delegate) {
    mSearchContentViewDelegate = delegate;
}