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

Unified Diff: chrome/browser/ui/views/accessibility/invert_bubble_view.h

Issue 10419002: browser: Move invert_bubble_views.{cc,h} into views/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/accessibility/invert_bubble_view.h
diff --git a/chrome/browser/ui/views/accessibility/invert_bubble_view.h b/chrome/browser/ui/views/accessibility/invert_bubble_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..5d7b6c9657db3ab2b63a308896b7b6fca966dff5
--- /dev/null
+++ b/chrome/browser/ui/views/accessibility/invert_bubble_view.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
+#define CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
+#pragma once
+
+class Profile;
+
+namespace views {
+class View;
+}
+
+namespace browser {
+
+// Show a bubble telling the user that they're using Windows high-constrast mode
+// with a light-on-dark scheme, so they may be interested in a high-contrast
+// Chrome extension and a dark theme. Only shows the first time we encounter
+// this condition for a particular profile.
+void MaybeShowInvertBubbleView(Profile* profile, views::View* anchor_view);
+
+} // namespace browser
+
+#endif // CHROME_BROWSER_UI_VIEWS_ACCESSIBILITY_INVERT_BUBBLE_VIEW_H_
« no previous file with comments | « chrome/browser/accessibility/invert_bubble_views.cc ('k') | chrome/browser/ui/views/accessibility/invert_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698