Searched defs:theme (Results 1 - 25 of 77) sorted by relevance

1234

/external/chromium_org/ui/views/controls/menu/
H A Dmenu_config_mac.cc13 void MenuConfig::Init(const ui::NativeTheme* theme) { argument
18 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { argument
20 MenuConfig, mac_instance, (theme ? theme : ui::NativeTheme::instance()));
H A Dmenu_config.cc11 MenuConfig::MenuConfig(const ui::NativeTheme* theme) argument
43 native_theme(theme),
46 Init(theme);
H A Dmenu_config_aura.cc26 void MenuConfig::Init(const ui::NativeTheme* theme) { argument
27 if (theme == ui::NativeThemeAura::instance())
28 InitAura(theme);
32 void MenuConfig::InitAura(const ui::NativeTheme* theme) { argument
53 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { argument
56 views_instance = new MenuConfig(theme ?
57 theme : ui::NativeTheme::instance());
H A Dmenu_config_win.cc24 void MenuConfig::Init(const NativeTheme* theme) { argument
25 if (theme == ui::NativeThemeAura::instance()) {
26 InitAura(theme);
82 const MenuConfig& MenuConfig::instance(const ui::NativeTheme* theme) { argument
83 // NOTE: |theme| may be NULL if used before the menu is running.
84 if (!theme || theme == NativeThemeWin::instance()) {
92 views_instance = new MenuConfig(theme);
/external/chromium_org/third_party/polymer/components-chromium/core-style/
H A Dmy-theme-extracted.js3 CoreStyle.g.theme = {
/external/chromium_org/third_party/WebKit/Source/platform/
H A DOverscrollTheme.cpp68 OverscrollTheme* OverscrollTheme::theme() function in class:blink::OverscrollTheme
70 DEFINE_STATIC_LOCAL(OverscrollTheme, theme, ());
71 return &theme;
/external/chromium_org/chrome/browser/ui/webui/
H A Ddownloads_ui.cc115 ThemeSource* theme = new ThemeSource(profile); local
116 content::URLDataSource::Add(profile, theme);
H A Dtheme_handler.cc31 // Listen for theme installation.
50 ThemeSource* theme = new ThemeSource(profile); local
51 content::URLDataSource::Add(profile, theme);
H A Dversion_ui.cc139 // Set up the chrome://theme/ source.
140 ThemeSource* theme = new ThemeSource(profile); local
141 content::URLDataSource::Add(profile, theme);
/external/chromium_org/chrome/browser/ui/webui/signin/
H A Duser_manager_ui.cc37 // Set up the chrome://theme/ source
38 ThemeSource* theme = new ThemeSource(profile); local
39 content::URLDataSource::Add(profile, theme);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderThemeChromiumAndroid.cpp51 RenderTheme& RenderTheme::theme() function in class:blink::RenderTheme
76 // FIXME: Consider removing the conditional if a future Android theme matches this.
/external/chromium_org/ui/android/java/src/org/chromium/ui/picker/
H A DWeekPickerDialog.java28 * @param theme the theme to apply to this dialog
34 int theme,
39 super(context, theme, callBack, year, weekOfYear, minValue, maxValue);
33 WeekPickerDialog(Context context, int theme, OnValueSetListener callBack, int year, int weekOfYear, double minValue, double maxValue) argument
H A DTwoFieldDatePickerDialog.java53 * @param theme the theme to apply to this dialog
59 int theme,
65 super(context, theme);
58 TwoFieldDatePickerDialog(Context context, int theme, OnValueSetListener callBack, int year, int positionInYear, double minValue, double maxValue) argument
/external/chromium_org/ui/views/
H A Dbutton_drag_utils.cc47 const ui::NativeTheme* theme = local
50 theme->GetSystemColor(ui::NativeTheme::kColorId_LabelEnabledColor));
52 theme->GetSystemColor(ui::NativeTheme::kColorId_LabelBackgroundColor)));
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebScrollbarThemePainter.cpp117 WebScrollbarThemePainter::WebScrollbarThemePainter(ScrollbarTheme* theme, Scrollbar* scrollbar) argument
118 : m_theme(theme)
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/
H A DDistilledPagePrefsTest.java49 // Check the default theme.
51 // Check that theme can be correctly set.
70 // Check that testObserver's theme has been updated,
91 // Check that testObserverOne's theme is not changed but testObserverTwo's is.
181 public void onChangeTheme(Theme theme) { argument
182 mTheme = theme;
195 private void setTheme(final Theme theme) { argument
199 mDistilledPagePrefs.setTheme(theme);
/external/chromium_org/chrome/browser/ui/views/frame/
H A Dcontents_web_view.cc48 ui::ThemeProvider* const theme = GetThemeProvider(); member in class:ui
49 if (!theme)
58 theme->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND);
/external/chromium_org/components/dom_distiller/core/
H A Ddistilled_page_prefs.cc16 // Path to the integer corresponding to user's preference theme.
19 const char kThemePref[] = "dom_distiller.theme";
75 int theme = pref_service_->GetInteger(kThemePref); local
76 if (theme < 0 || theme >= DistilledPagePrefs::THEME_COUNT) {
82 return static_cast<Theme>(theme);
H A Ddistilled_page_prefs_android.cc36 void DistilledPagePrefsAndroid::SetTheme(JNIEnv* env, jobject obj, jint theme) { argument
38 static_cast<DistilledPagePrefs::Theme>(theme));
/external/chromium_org/ui/views/controls/scrollbar/
H A Dnative_scroll_bar.cc33 const ui::NativeTheme* theme) {
34 return NativeScrollBarWrapper::GetHorizontalScrollBarHeight(theme);
39 const ui::NativeTheme* theme) {
40 return NativeScrollBarWrapper::GetVerticalScrollBarWidth(theme);
32 GetHorizontalScrollBarHeight( const ui::NativeTheme* theme) argument
38 GetVerticalScrollBarWidth( const ui::NativeTheme* theme) argument
/external/chromium_org/chrome/browser/extensions/
H A Dextension_install_ui_browsertest.cc38 // Checks that a theme info bar is currently visible and issues an undo to
39 // revert to the previous theme.
54 // Install the given theme from the data dir and verify expected name.
57 // If there is already a theme installed, the current theme should be
63 const Extension* theme = GetTheme(); local
64 ASSERT_TRUE(theme);
65 ASSERT_EQ(theme->name(), expected_name);
89 // Install theme once and undo to verify we go back to default theme
92 const Extension* theme = GetTheme(); local
121 const Extension* theme = GetTheme(); local
[all...]
/external/chromium_org/chrome/browser/ui/views/website_settings/
H A Dpermission_selector_view.cc53 virtual void OnNativeThemeChanged(const ui::NativeTheme* theme) OVERRIDE;
90 void PermissionMenuButton::OnNativeThemeChanged(const ui::NativeTheme* theme) { argument
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
H A DSpinButtonElement.cpp219 ScrollbarTheme* theme = ScrollbarTheme::theme(); local
220 m_repeatingTimer.start(theme->initialAutoscrollTimerDelay(), theme->autoscrollTimerDelay(), FROM_HERE);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebScrollbarThemeGeometryNative.cpp36 PassOwnPtr<WebScrollbarThemeGeometryNative> WebScrollbarThemeGeometryNative::create(ScrollbarTheme* theme) argument
38 return adoptPtr(new WebScrollbarThemeGeometryNative(theme));
41 WebScrollbarThemeGeometryNative::WebScrollbarThemeGeometryNative(ScrollbarTheme* theme) argument
42 : m_theme(theme)
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbar.h134 ScrollbarTheme* theme() const { return m_theme; } function in class:blink::Scrollbar

Completed in 2928 milliseconds

1234