OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |