Home
last modified time | relevance | path

Searched refs:GetColor (Results 1 – 25 of 49) sorted by relevance

12

/external/chromium/chrome/browser/ui/webui/
Dntp_resource_cache.cc434 tp->GetColor(ThemeService::COLOR_NTP_BACKGROUND); in CreateNewTabIncognitoCSS()
470 tp->GetColor(ThemeService::COLOR_NTP_BACKGROUND); in CreateNewTabCSS()
471 SkColor color_text = tp->GetColor(ThemeService::COLOR_NTP_TEXT); in CreateNewTabCSS()
472 SkColor color_link = tp->GetColor(ThemeService::COLOR_NTP_LINK); in CreateNewTabCSS()
474 tp->GetColor(ThemeService::COLOR_NTP_LINK_UNDERLINE); in CreateNewTabCSS()
477 tp->GetColor(ThemeService::COLOR_NTP_SECTION); in CreateNewTabCSS()
479 tp->GetColor(ThemeService::COLOR_NTP_SECTION_TEXT); in CreateNewTabCSS()
481 tp->GetColor(ThemeService::COLOR_NTP_SECTION_LINK); in CreateNewTabCSS()
483 tp->GetColor(ThemeService::COLOR_NTP_SECTION_LINK_UNDERLINE); in CreateNewTabCSS()
485 tp->GetColor(ThemeService::COLOR_NTP_SECTION_HEADER_TEXT); in CreateNewTabCSS()
[all …]
/external/chromium/chrome/browser/ui/views/location_bar/
Dsuggested_text_view.cc35 SetColor(LocationBarView::GetColor(ToolbarModel::NONE, in StopAnimation()
56 SkColor fg_color = LocationBarView::GetColor( in AnimationProgressed()
58 SkColor sel_fg_color = LocationBarView::GetColor( in AnimationProgressed()
89 SkColor bg_color = LocationBarView::GetColor(ToolbarModel::NONE, in UpdateBackgroundColor()
Dlocation_bar_view.cc161 GetColor(ToolbarModel::EV_SECURE, SECURITY_TEXT), this); in Init()
184 GetColor(ToolbarModel::NONE, TEXT), profile_), in Init()
189 SkColor dimmed_text = GetColor(ToolbarModel::NONE, DEEMPHASIZED_TEXT); in Init()
224 SkColor LocationBarView::GetColor(ToolbarModel::SecurityLevel security_level, in GetColor() function in LocationBarView
239 return color_utils::AlphaBlend(GetColor(security_level, TEXT), in GetColor()
240 GetColor(security_level, BACKGROUND), 128); in GetColor()
251 return GetColor(security_level, DEEMPHASIZED_TEXT); in GetColor()
260 return GetColor(security_level, TEXT); in GetColor()
262 return color_utils::GetReadableColor(color, GetColor(security_level, in GetColor()
268 return GetColor(security_level, TEXT); in GetColor()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service_unittest.cc51 EXPECT_EQ(provider_->GetColor(i), ThemeService::GetDefaultColor(i)) in TEST_F()
68 EXPECT_EQ(provider_->GetColor(ThemeService::COLOR_TAB_TEXT), in TEST_F()
Dgtk_theme_service.h54 virtual SkColor GetColor(int id) const;
/external/chromium/chrome/browser/ui/views/
Ddetachable_toolbar_view.cc31 tp->GetColor(ThemeService::COLOR_TOOLBAR); in PaintBackgroundAttachedMode()
70 paint.setColor(theme_provider->GetColor(ThemeService::COLOR_TOOLBAR)); in PaintContentAreaBackground()
82 theme_provider->GetColor(ThemeService::COLOR_NTP_HEADER)); in PaintContentAreaBorder()
/external/chromium/chrome/browser/themes/
Dtheme_service.cc237 SkColor ThemeService::GetColor(int id) const { in GetColor() function in ThemeService
241 if (theme_pack_.get() && theme_pack_->GetColor(id, &color)) in GetColor()
248 return IncreaseLightness(GetColor(COLOR_NTP_TEXT), 0.30); in GetColor()
250 return GetColor(COLOR_NTP_TEXT); in GetColor()
252 return IncreaseLightness(GetColor(COLOR_NTP_TEXT), 0.70); in GetColor()
254 return IncreaseLightness(GetColor(COLOR_NTP_TEXT), 0.86); in GetColor()
256 return IncreaseLightness(GetColor(COLOR_NTP_TEXT), 0.40); in GetColor()
Dbrowser_theme_pack_unittest.cc73 theme_pack_->GetColor(it->first, &color); in VerifyColorMap()
151 EXPECT_TRUE(pack->GetColor(ThemeService::COLOR_BOOKMARK_TEXT, in VerifyStarGazing()
155 EXPECT_TRUE(pack->GetColor(ThemeService::COLOR_NTP_BACKGROUND, in VerifyStarGazing()
188 EXPECT_FALSE(pack->GetColor(ThemeService::COLOR_CONTROL_BACKGROUND, in VerifyStarGazing()
Dbrowser_theme_pack.h69 bool GetColor(int id, SkColor* color) const;
Dtheme_service.h145 virtual SkColor GetColor(int id) const;
/external/chromium/chrome/browser/chromeos/
Ddrop_shadow_label.cc43 SkColor color = SkColorSetARGB(kShadowOpacity * SkColorGetA(GetColor()), in PaintText()
60 canvas->DrawStringInt(WideToUTF16Hack(text), font(), GetColor(), in PaintText()
/external/chromium/chrome/browser/ui/views/autocomplete/
Dautocomplete_result_view.cc133 SkColor AutocompleteResultView::GetColor(ResultViewState state, in GetColor() function in AutocompleteResultView
341 current_data->color = GetColor(state, URL); in DrawString()
343 current_data->color = GetColor(state, DIMMED_TEXT); in DrawString()
345 current_data->color = GetColor(state, force_dim ? DIMMED_TEXT : TEXT); in DrawString()
520 canvas->AsCanvasSkia()->drawColor(GetColor(state, BACKGROUND)); in OnPaint()
Dautocomplete_result_view.h43 static SkColor GetColor(ResultViewState state, ColorKind kind);
Dtouch_autocomplete_popup_contents_view.cc93 SkColor color = AutocompleteResultView::GetColor( in PaintResultViews()
/external/chromium/chrome/browser/debugger/
Ddevtools_window.cc397 tp->GetColor(ThemeService::COLOR_TOOLBAR); in GetDevToolsUrl()
399 tp->GetColor(ThemeService::COLOR_BOOKMARK_TEXT); in GetDevToolsUrl()
415 tp->GetColor(ThemeService::COLOR_TOOLBAR); in UpdateTheme()
417 tp->GetColor(ThemeService::COLOR_BOOKMARK_TEXT); in UpdateTheme()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_toolbar_view_unittest.mm31 MOCK_CONST_METHOD1(GetColor, SkColor(int));
136 EXPECT_CALL(provider, GetColor(ThemeService::COLOR_NTP_BACKGROUND))
164 EXPECT_CALL(provider, GetColor(ThemeService::COLOR_NTP_BACKGROUND))
/external/chromium/chrome/browser/ui/views/download/
Ddownload_shelf_view.cc253 GetThemeProvider()->GetColor(ThemeService::COLOR_BOOKMARK_TEXT)); in Layout()
255 GetThemeProvider()->GetColor(ThemeService::COLOR_TOOLBAR))); in Layout()
352 GetThemeProvider()->GetColor(ThemeService::COLOR_TAB_TEXT), in UpdateButtonColors()
/external/chromium/chrome/browser/ui/views/frame/
Dopaque_browser_frame_view.cc112 SkColor color = tp->GetColor(ThemeService::COLOR_BUTTON_BACKGROUND); in OpaqueBrowserFrameView()
592 frame_color = tp->GetColor(ThemeService::COLOR_FRAME); in PaintRestoredFrameBorder()
595 frame_color = tp->GetColor(ThemeService::COLOR_FRAME_INACTIVE); in PaintRestoredFrameBorder()
599 frame_color = tp->GetColor(ThemeService::COLOR_FRAME_INCOGNITO); in PaintRestoredFrameBorder()
602 frame_color = tp->GetColor( in PaintRestoredFrameBorder()
796 tp->GetColor(ThemeService::COLOR_TOOLBAR); in PaintToolbarBackground()
894 SkColor toolbar_color = tp->GetColor(ThemeService::COLOR_TOOLBAR); in PaintRestoredClientEdge()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bar_instructions_gtk.cc83 if (theme_service_->GetColor(ThemeService::COLOR_BOOKMARK_TEXT) == in UpdateColors()
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_shelf_gtk.cc239 bool use_default_color = theme_service_->GetColor( in Observe()
251 theme_service_->GetColor(ThemeService::COLOR_TAB_TEXT), in Observe()
/external/chromium/chrome/browser/
Dntp_background_util.cc63 canvas->FillRectInt(tp->GetColor(ThemeService::COLOR_NTP_BACKGROUND), in PaintBackgroundDetachedMode()
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab.cc86 GetColor(IsSelected() ? in OnPaint()
231 GetThemeProvider()->GetColor( in PaintIcon()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_instructions_view.cc106 theme_provider->GetColor(ThemeService::COLOR_BOOKMARK_TEXT); in UpdateColors()
/external/chromium/chrome/browser/chromeos/login/
Dusername_view.cc162 canvas.DrawStringWithHalo(WideToUTF16Hack(GetText()), font(), GetColor(), in PaintUsername()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit_view_win.cc430 background_color_(skia::SkColorToCOLORREF(LocationBarView::GetColor( in AutocompleteEditViewWin()
2203 cf.crTextColor = skia::SkColorToCOLORREF(LocationBarView::GetColor( in EmphasizeURLComponents()
2214 cf.crTextColor = skia::SkColorToCOLORREF(LocationBarView::GetColor( in EmphasizeURLComponents()
2228 cf.crTextColor = skia::SkColorToCOLORREF(LocationBarView::GetColor( in EmphasizeURLComponents()
2323 paint.setColor(LocationBarView::GetColor(security_level_, in DrawSlashForInsecureScheme()
2332 paint.setColor(LocationBarView::GetColor(security_level_, in DrawSlashForInsecureScheme()

12