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

Side by Side Diff: chrome/browser/chromeos/accessibility/magnification_manager.h

Issue 11415025: A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase @170134 Created 8 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 (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_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_
7 7
8 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" 8 #include "chrome/browser/chromeos/accessibility/accessibility_util.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 // Creates an instance of MagnificationManager. This should be called once, 23 // Creates an instance of MagnificationManager. This should be called once,
24 // because only one instance should exist at the same time. 24 // because only one instance should exist at the same time.
25 static MagnificationManager* CreateInstance(); 25 static MagnificationManager* CreateInstance();
26 // Returns the existing instance. If there is no instance, returns NULL. 26 // Returns the existing instance. If there is no instance, returns NULL.
27 static MagnificationManager* GetInstance(); 27 static MagnificationManager* GetInstance();
28 28
29 virtual ~MagnificationManager() {} 29 virtual ~MagnificationManager() {}
30 30
31 // Returns the current type of the screen magnifier. 31 // Returns the current type of the screen magnifier.
32 virtual accessibility::ScreenMagnifierType GetScreenMagnifierType() = 0; 32 virtual ash::MagnifierType GetMagnifierType() = 0;
33 // Changes the type of the screen magnifier. 33 // Changes the type of the screen magnifier.
34 virtual void SetScreenMagnifier(accessibility::ScreenMagnifierType type) = 0; 34 virtual void SetMagnifier(ash::MagnifierType type) = 0;
35 }; 35 };
36 36
37 } // namespace chromeos 37 } // namespace chromeos
38 38
39 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_ 39 #endif // CHROME_BROWSER_CHROMEOS_ACCESSIBILITY_MAGNIFICATION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698