Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6889)

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc

Issue 1461923002: Change name of NativeTheme::instance() to make it clear it's web only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NATIVE_THEME_EXPORT for mac Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
index f10dad60cc9b766c39c6cdd26c2e75b2af9a8489..4060bb65ecb11ab04670c9c127ef9524cc4a0bf3 100644
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.cc
@@ -148,7 +148,7 @@ void ProfileSigninConfirmationDialogViews::ViewHierarchyChanged(
const SkColor kPromptBarBackgroundColor =
ui::GetSigninConfirmationPromptBarColor(
- ui::kSigninConfirmationPromptBarBackgroundAlpha);
+ GetNativeTheme(), ui::kSigninConfirmationPromptBarBackgroundAlpha);
// Create the prompt label.
size_t offset;
@@ -170,12 +170,9 @@ void ProfileSigninConfirmationDialogViews::ViewHierarchyChanged(
// Create the prompt bar.
views::View* prompt_bar = new views::View;
prompt_bar->SetBorder(views::Border::CreateSolidSidedBorder(
- 1,
- 0,
- 1,
- 0,
+ 1, 0, 1, 0,
ui::GetSigninConfirmationPromptBarColor(
- ui::kSigninConfirmationPromptBarBorderAlpha)));
+ GetNativeTheme(), ui::kSigninConfirmationPromptBarBorderAlpha)));
prompt_bar->set_background(views::Background::CreateSolidBackground(
kPromptBarBackgroundColor));
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | components/html_viewer/web_theme_engine_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698