Searched refs:theme (Results 1 - 25 of 191) sorted by relevance

12345678

/external/llvm/docs/_themes/llvm-theme/
H A Dtheme.conf0 [theme]
3 stylesheet = llvm-theme.css
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollbarThemeAndroid.cpp35 DEFINE_STATIC_LOCAL(ScrollbarThemeOverlay, theme, (3, 3, ScrollbarThemeOverlay::DisallowHitTest, Color(128, 128, 128, 128)));
36 return &theme;
H A DScrollbar.cpp51 Scrollbar::Scrollbar(ScrollableArea* scrollableArea, ScrollbarOrientation orientation, ScrollbarControlSize controlSize, ScrollbarTheme* theme) argument
55 , m_theme(theme)
73 m_theme = ScrollbarTheme::theme();
140 int oldThumbPosition = theme()->thumbPosition(this);
144 setPressedPos(m_pressedPos + theme()->thumbPosition(this) - oldThumbPosition);
163 theme()->invalidateParts(this, ForwardTrackPart | BackTrackPart | ThumbPart);
182 if (!theme()->paint(this, context, damageRect))
188 autoscrollPressedPart(theme()->autoscrollTimerDelay());
193 int thumbPos = scrollbar->theme()->trackPosition(scrollbar) + scrollbar->theme()
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-style/
H A Dmy-theme-extracted.js3 CoreStyle.g.theme = {
/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_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.cc11 MenuConfig::MenuConfig(const ui::NativeTheme* theme) argument
43 native_theme(theme),
46 Init(theme);
H A Dmenu_config.h21 explicit MenuConfig(const ui::NativeTheme* theme);
24 static const MenuConfig& instance(const ui::NativeTheme* theme);
131 void Init(const ui::NativeTheme* theme);
134 void InitAura(const ui::NativeTheme* theme);
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/WebKit/Source/web/mac/
H A DWebScrollbarTheme.mm50 ScrollbarTheme* theme = ScrollbarTheme::theme();
51 if (theme->isMockTheme())
54 static_cast<ScrollbarThemeMacCommon*>(ScrollbarTheme::theme())->preferencesChanged(
/external/chromium_org/ui/views/controls/scrollbar/
H A Dnative_scroll_bar_wrapper.h39 static int GetVerticalScrollBarWidth(const ui::NativeTheme* theme);
40 static int GetHorizontalScrollBarHeight(const ui::NativeTheme* theme);
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/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;
H A DOverscrollTheme.h46 static OverscrollTheme* theme();
/external/chromium_org/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/
H A DDistilledPagePrefs.java28 void onChangeTheme(Theme theme); argument
50 private void onChangeTheme(int theme) { argument
51 mDistilledPagePrefsObserver.onChangeTheme(Theme.getThemeForValue(theme));
108 public void setTheme(Theme theme) { argument
109 nativeSetTheme(mDistilledPagePrefsAndroid, theme.asNativeEnum());
122 private native void nativeSetTheme(long nativeDistilledPagePrefsAndroid, int theme); argument
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderScrollbarTheme.h39 virtual int scrollbarThickness(ScrollbarControlSize controlSize) OVERRIDE { return ScrollbarTheme::theme()->scrollbarThickness(controlSize); }
41 virtual ScrollbarButtonsPlacement buttonsPlacement() const OVERRIDE { return ScrollbarTheme::theme()->buttonsPlacement(); }
45 virtual bool shouldCenterOnThumb(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& event) OVERRIDE { return ScrollbarTheme::theme()->shouldCenterOnThumb(scrollbar, event); }
46 virtual bool shouldSnapBackToDragOrigin(ScrollbarThemeClient* scrollbar, const PlatformMouseEvent& event) OVERRIDE { return ScrollbarTheme::theme()->shouldSnapBackToDragOrigin(scrollbar, event); }
48 virtual double initialAutoscrollTimerDelay() OVERRIDE { return ScrollbarTheme::theme()->initialAutoscrollTimerDelay(); }
49 virtual double autoscrollTimerDelay() OVERRIDE { return ScrollbarTheme::theme()->autoscrollTimerDelay(); }
51 virtual void registerScrollbar(ScrollbarThemeClient* scrollbar) OVERRIDE { return ScrollbarTheme::theme()->registerScrollbar(scrollbar); }
52 virtual void unregisterScrollbar(ScrollbarThemeClient* scrollbar) OVERRIDE { return ScrollbarTheme::theme()->unregisterScrollbar(scrollbar); }
/external/chromium_org/components/dom_distiller/core/
H A Dviewer.cc54 const std::string GetJsTheme(DistilledPagePrefs::Theme theme) { argument
55 if (theme == DistilledPagePrefs::DARK) {
57 } else if (theme == DistilledPagePrefs::SEPIA) {
64 const std::string GetThemeCssClass(DistilledPagePrefs::Theme theme) { argument
65 if (theme == DistilledPagePrefs::DARK) {
67 } else if (theme == DistilledPagePrefs::SEPIA) {
108 const DistilledPagePrefs::Theme theme,
117 substitutions.push_back(GetThemeCssClass(theme) + " " +
153 const DistilledPagePrefs::Theme theme,
163 title, unsafe_article_html, "visible", original_url, theme, font_famil
103 ReplaceHtmlTemplateValues( const std::string& title, const std::string& content, const std::string& loading_indicator_class, const std::string& original_url, const DistilledPagePrefs::Theme theme, const DistilledPagePrefs::FontFamily font_family) argument
151 GetUnsafePartialArticleHtml( const DistilledPageProto* page_proto, const DistilledPagePrefs::Theme theme, const DistilledPagePrefs::FontFamily font_family) argument
166 GetUnsafeArticleHtml( const DistilledArticleProto* article_proto, const DistilledPagePrefs::Theme theme, const DistilledPagePrefs::FontFamily font_family) argument
194 GetErrorPageHtml( const DistilledPagePrefs::Theme theme, const DistilledPagePrefs::FontFamily font_family) argument
253 GetDistilledPageThemeJs(DistilledPagePrefs::Theme theme) argument
[all...]
H A Dviewer.h32 const DistilledPagePrefs::Theme theme,
43 const DistilledPagePrefs::Theme theme,
61 const DistilledPagePrefs::Theme theme,
82 // Returns JavaScript corresponding to setting a specific theme.
83 const std::string GetDistilledPageThemeJs(DistilledPagePrefs::Theme theme);
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);
/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/webui/
H A Dtheme_handler.cc31 // Listen for theme installation.
50 ThemeSource* theme = new ThemeSource(profile); local
51 content::URLDataSource::Add(profile, theme);
/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
/external/chromium_org/components/dom_distiller/core/javascript/
H A Ddom_distiller_viewer.js34 // Maps JS theme to CSS class and then changes body class name.
36 function useTheme(theme) {
38 if (theme == "sepia") {
40 } else if (theme == "dark") {
/external/chromium_org/third_party/polymer/components/core-icon-button/
H A Dcore-icon-button.css48 :host(.core-dark-theme.outline) {
53 :host(.core-dark-theme:hover) {
58 :host(.core-dark-theme.selected) {
63 :host(.core-dark-theme:active, .core-dark-theme.selected:active) {
/external/chromium_org/third_party/polymer/components-chromium/core-icon-button/
H A Dcore-icon-button.css48 :host(.core-dark-theme.outline) {
53 :host(.core-dark-theme:hover) {
58 :host(.core-dark-theme.selected) {
63 :host(.core-dark-theme:active, .core-dark-theme.selected:active) {

Completed in 4321 milliseconds

12345678