Java Code Examples for org.chromium.chrome.browser.ntp.snippets.SnippetsConfig#isEnabled()
The following examples show how to use
org.chromium.chrome.browser.ntp.snippets.SnippetsConfig#isEnabled() .
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: NtpColorUtils.java From delion with Apache License 2.0 | 4 votes |
public static boolean shouldUseMaterialColors() { return SnippetsConfig.isEnabled() || ChromeFeatureList.isEnabled(ChromeFeatureList.NTP_MATERIAL_DESIGN); }
Example 2
Source File: NewTabPage.java From delion with Apache License 2.0 | 4 votes |
/** @return whether the NTP is using the cards UI. */ public boolean isCardsUiEnabled() { return SnippetsConfig.isEnabled(); }
Example 3
Source File: NewTabPage.java From AndroidChromium with Apache License 2.0 | 4 votes |
/** @return whether the NTP is using the cards UI. */ public boolean isCardsUiEnabled() { return SnippetsConfig.isEnabled(); }