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

Side by Side Diff: chrome/browser/ui/views/profiles/profile_chooser_view.h

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 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ProfileChooserView(views::View* anchor_view, 75 ProfileChooserView(views::View* anchor_view,
76 views::BubbleBorder::Arrow arrow, 76 views::BubbleBorder::Arrow arrow,
77 Browser* browser, 77 Browser* browser,
78 profiles::BubbleViewMode view_mode, 78 profiles::BubbleViewMode view_mode,
79 profiles::TutorialMode tutorial_mode, 79 profiles::TutorialMode tutorial_mode,
80 signin::GAIAServiceType service_type); 80 signin::GAIAServiceType service_type);
81 ~ProfileChooserView() override; 81 ~ProfileChooserView() override;
82 82
83 // views::BubbleDelegateView: 83 // views::BubbleDelegateView:
84 void Init() override; 84 void Init() override;
85 void OnNativeThemeChanged(const ui::NativeTheme* native_theme) override;
85 void WindowClosing() override; 86 void WindowClosing() override;
86 bool AcceleratorPressed(const ui::Accelerator& accelerator) override; 87 bool AcceleratorPressed(const ui::Accelerator& accelerator) override;
87 views::View* GetInitiallyFocusedView() override; 88 views::View* GetInitiallyFocusedView() override;
88 89
89 // content::WebContentsDelegate: 90 // content::WebContentsDelegate:
90 bool HandleContextMenu(const content::ContextMenuParams& params) override; 91 bool HandleContextMenu(const content::ContextMenuParams& params) override;
91 92
92 // views::ButtonListener: 93 // views::ButtonListener:
93 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 94 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
94 95
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 // The current tutorial mode. 268 // The current tutorial mode.
268 profiles::TutorialMode tutorial_mode_; 269 profiles::TutorialMode tutorial_mode_;
269 270
270 // The GAIA service type provided in the response header. 271 // The GAIA service type provided in the response header.
271 signin::GAIAServiceType gaia_service_type_; 272 signin::GAIAServiceType gaia_service_type_;
272 273
273 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView); 274 DISALLOW_COPY_AND_ASSIGN(ProfileChooserView);
274 }; 275 };
275 276
276 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_ 277 #endif // CHROME_BROWSER_UI_VIEWS_PROFILES_PROFILE_CHOOSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/exclusive_access_bubble_views.cc ('k') | chrome/browser/ui/views/profiles/profile_chooser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698