Java Code Examples for org.chromium.chrome.browser.tab.Tab#updateAccessibilityVisibility()

The following examples show how to use org.chromium.chrome.browser.tab.Tab#updateAccessibilityVisibility() . 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: ChromeActivity.java    From delion with Apache License 2.0 5 votes vote down vote up
/**
 * Remove a view that previously obscured the content of all tabs.
 *
 * @param view The view that no longer obscures the contents of all tabs.
 */
public void removeViewObscuringAllTabs(View view) {
    mViewsObscuringAllTabs.remove(view);

    Tab tab = getActivityTab();
    if (tab != null) tab.updateAccessibilityVisibility();
}
 
Example 2
Source File: ChromeActivity.java    From AndroidChromium with Apache License 2.0 5 votes vote down vote up
/**
 * Remove a view that previously obscured the content of all tabs.
 *
 * @param view The view that no longer obscures the contents of all tabs.
 */
public void removeViewObscuringAllTabs(View view) {
    mViewsObscuringAllTabs.remove(view);

    Tab tab = getActivityTab();
    if (tab != null) tab.updateAccessibilityVisibility();
}
 
Example 3
Source File: ChromeActivity.java    From 365browser with Apache License 2.0 5 votes vote down vote up
/**
 * Remove a view that previously obscured the content of all tabs.
 *
 * @param view The view that no longer obscures the contents of all tabs.
 */
public void removeViewObscuringAllTabs(View view) {
    mViewsObscuringAllTabs.remove(view);

    Tab tab = getActivityTab();
    if (tab != null) tab.updateAccessibilityVisibility();
}
 
Example 4
Source File: ChromeActivity.java    From delion with Apache License 2.0 3 votes vote down vote up
/**
 * Add a view to the set of views that obscure the content of all tabs for
 * accessibility. As long as this set is nonempty, all tabs should be
 * hidden from the accessibility tree.
 *
 * @param view The view that obscures the contents of all tabs.
 */
public void addViewObscuringAllTabs(View view) {
    mViewsObscuringAllTabs.add(view);

    Tab tab = getActivityTab();
    if (tab != null) tab.updateAccessibilityVisibility();
}
 
Example 5
Source File: ChromeActivity.java    From AndroidChromium with Apache License 2.0 3 votes vote down vote up
/**
 * Add a view to the set of views that obscure the content of all tabs for
 * accessibility. As long as this set is nonempty, all tabs should be
 * hidden from the accessibility tree.
 *
 * @param view The view that obscures the contents of all tabs.
 */
public void addViewObscuringAllTabs(View view) {
    mViewsObscuringAllTabs.add(view);

    Tab tab = getActivityTab();
    if (tab != null) tab.updateAccessibilityVisibility();
}
 
Example 6
Source File: ChromeActivity.java    From 365browser with Apache License 2.0 3 votes vote down vote up
/**
 * Add a view to the set of views that obscure the content of all tabs for
 * accessibility. As long as this set is nonempty, all tabs should be
 * hidden from the accessibility tree.
 *
 * @param view The view that obscures the contents of all tabs.
 */
public void addViewObscuringAllTabs(View view) {
    mViewsObscuringAllTabs.add(view);

    Tab tab = getActivityTab();
    if (tab != null) tab.updateAccessibilityVisibility();
}