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

Unified Diff: ash/high_contrast/high_contrast_controller.h

Issue 10201014: Implement High Contrast mode for Chrome OS (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove extra define guard 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
« no previous file with comments | « ash/ash.gyp ('k') | ash/high_contrast/high_contrast_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/high_contrast/high_contrast_controller.h
diff --git a/ash/high_contrast/high_contrast_controller.h b/ash/high_contrast/high_contrast_controller.h
new file mode 100644
index 0000000000000000000000000000000000000000..b5b589f72ac987a640a0c3dadfb9f5538af96f02
--- /dev/null
+++ b/ash/high_contrast/high_contrast_controller.h
@@ -0,0 +1,36 @@
+// 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 ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_
+#define ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_
+#pragma once
+
+#include "ash/ash_export.h"
+#include "base/basictypes.h"
+
+namespace aura {
+class RootWindow;
+}
+
+namespace ash {
+
+class ASH_EXPORT HighContrastController {
+ public:
+ HighContrastController();
+
+ ~HighContrastController() {}
+
+ void SetEnabled(bool enabled);
+
+ private:
+ aura::RootWindow* root_window_;
+
+ bool enabled_;
+
+ DISALLOW_COPY_AND_ASSIGN(HighContrastController);
+};
+
+} // namespace ash
+
+#endif // ASH_HIGH_CONTRAST_HIGH_CONTRAST_CONTROLLER_H_
« no previous file with comments | « ash/ash.gyp ('k') | ash/high_contrast/high_contrast_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698