OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_ACCESSIBILITY_INVERT_BUBBLE_VIEWS_H_ | |
6 #define CHROME_BROWSER_ACCESSIBILITY_INVERT_BUBBLE_VIEWS_H_ | |
7 #pragma once | |
8 | |
9 class PrefService; | |
10 class Profile; | |
11 namespace views { | |
12 class View; | |
13 } | |
14 | |
15 class InvertBubble { | |
16 public: | |
17 static void RegisterUserPrefs(PrefService* prefs); | |
18 | |
19 // Show a bubble telling the user that they're using Windows | |
20 // high-constrast mode with a light-on-dark scheme, so they may be | |
21 // interested in a high-contrast Chrome extension and a dark theme. | |
22 // Only shows the first time we encounter this condition | |
23 // for a particular profile. | |
24 static void MaybeShowInvertBubble(Profile* profile, | |
25 views::View* anchor_view); | |
26 }; | |
27 | |
28 #endif // CHROME_BROWSER_ACCESSIBILITY_INVERT_BUBBLE_VIEWS_H_ | |
OLD | NEW |