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

Side by Side Diff: chrome/browser/ui/views/accessibility/invert_bubble_view.h

Issue 189513007: Anchor the high contrast bubble to the app menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Anchor the high contrast bubble to the app menu. Created 6 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/invert_bubble_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
7 7
8 class Browser; 8 class BrowserView;
9 9
10 namespace views { 10 namespace views {
11 class View; 11 class View;
12 } 12 }
13 13
14 namespace chrome { 14 namespace chrome {
15 15
16 // Show a bubble telling the user that they're using Windows high-contrast mode 16 // Show a bubble telling the user that they're using Windows high-contrast mode
17 // with a light-on-dark scheme, so they may be interested in a high-contrast 17 // with a light-on-dark scheme, so they may be interested in a high-contrast
18 // Chrome extension and a dark theme. Only shows the first time we encounter 18 // Chrome extension and a dark theme. Only shows the first time we encounter
19 // this condition for a particular profile. 19 // this condition for a particular profile.
20 void MaybeShowInvertBubbleView(Browser* browser, views::View* anchor_view); 20 void MaybeShowInvertBubbleView(BrowserView* browser_view);
21 21
22 } // namespace chrome 22 } // namespace chrome
23 23
24 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_ 24 #endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/accessibility/invert_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698