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

Unified Diff: chrome/browser/ui/ash/palette_delegate_chromeos.cc

Issue 2642723007: chromeos: Removed enable magnifier from palette delegate. (Closed)
Patch Set: Trybot. Created 3 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
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/palette_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/palette_delegate_chromeos.cc b/chrome/browser/ui/ash/palette_delegate_chromeos.cc
index 24703ac0de8395afc523283513c7908a2fa71abb..7c923d6f3d1b574124cb2fa4406768d080155591 100644
--- a/chrome/browser/ui/ash/palette_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/palette_delegate_chromeos.cc
@@ -6,7 +6,6 @@
#include "ash/accelerators/accelerator_controller_delegate_aura.h"
#include "ash/common/system/chromeos/palette/palette_utils.h"
-#include "ash/magnifier/partial_magnification_controller.h"
#include "ash/screenshot_delegate.h"
#include "ash/shell.h"
#include "ash/utility/screenshot_controller.h"
@@ -132,12 +131,6 @@ void PaletteDelegateChromeOS::OnPartialScreenshotDone(
then.Run();
}
-void PaletteDelegateChromeOS::SetPartialMagnifierState(bool enabled) {
- ash::PartialMagnificationController* controller =
- ash::Shell::GetInstance()->partial_magnification_controller();
- controller->SetEnabled(enabled);
-}
-
void PaletteDelegateChromeOS::SetStylusStateChangedCallback(
const OnStylusStateChangedCallback& on_stylus_state_changed) {
on_stylus_state_changed_ = on_stylus_state_changed;
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698