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

Unified Diff: chrome/browser/chromeos/accessibility/magnification_manager.h

Issue 11821053: Revert 176087 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/chromeos/accessibility/magnification_manager.h
===================================================================
--- chrome/browser/chromeos/accessibility/magnification_manager.h (revision 176100)
+++ chrome/browser/chromeos/accessibility/magnification_manager.h (working copy)
@@ -24,30 +24,20 @@
// Returns the existing instance. If there is no instance, creates one.
// because only one instance should exist at the same time.
static void Initialize();
-
// Deletes the existing instance of MagnificationManager.
static void Shutdown();
-
// Returns the existing instance. If there is no instance, returns NULL.
static MagnificationManager* Get();
- // Returns if the screen magnifier is enabled.
- virtual bool IsMagnifierEnabled() const = 0;
-
// Returns the current type of the screen magnifier.
- virtual ash::MagnifierType GetMagnifierType() const = 0;
-
- // Enables the screen magnifier.
- virtual void SetMagnifierEnabled(bool enabled) = 0;
-
+ virtual ash::MagnifierType GetMagnifierType() = 0;
// Changes the type of the screen magnifier.
- virtual void SetMagnifierType(ash::MagnifierType type) = 0;
+ virtual void SetMagnifier(ash::MagnifierType type) = 0;
// Saves the magnifier scale to the pref.
virtual void SaveScreenMagnifierScale(double scale) = 0;
-
// Loads the magnifier scale from the pref.
- virtual double GetSavedScreenMagnifierScale() const = 0;
+ virtual double GetSavedScreenMagnifierScale() = 0;
protected:
virtual ~MagnificationManager() {}

Powered by Google App Engine
This is Rietveld 408576698