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

Side by Side Diff: ash/magnifier/partial_magnification_controller.h

Issue 854183002: ash: Cleanup - remove unused private fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 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 ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_ 5 #ifndef ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_
6 #define ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_ 6 #define ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_
7 7
8 #include "ui/aura/window_observer.h" 8 #include "ui/aura/window_observer.h"
9 #include "ui/events/event_handler.h" 9 #include "ui/events/event_handler.h"
10 #include "ui/gfx/geometry/point.h" 10 #include "ui/gfx/geometry/point.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // ui::EventHandler overrides: 65 // ui::EventHandler overrides:
66 void OnMouseEvent(ui::MouseEvent* event) override; 66 void OnMouseEvent(ui::MouseEvent* event) override;
67 67
68 // Overridden from WindowObserver: 68 // Overridden from WindowObserver:
69 void OnWindowDestroying(aura::Window* window) override; 69 void OnWindowDestroying(aura::Window* window) override;
70 70
71 // Overridden from WidgetObserver: 71 // Overridden from WidgetObserver:
72 void OnWidgetDestroying(views::Widget* widget) override; 72 void OnWidgetDestroying(views::Widget* widget) override;
73 73
74 // True if the magnified window is in motion of zooming or un-zooming effect.
75 // Otherwise, false.
76 bool is_on_zooming_;
77
78 bool is_enabled_; 74 bool is_enabled_;
79 75
80 // Current scale, origin (left-top) position of the magnification window. 76 // Current scale, origin (left-top) position of the magnification window.
81 float scale_; 77 float scale_;
82 gfx::Point origin_; 78 gfx::Point origin_;
83 79
84 views::Widget* zoom_widget_; 80 views::Widget* zoom_widget_;
85 81
86 DISALLOW_COPY_AND_ASSIGN(PartialMagnificationController); 82 DISALLOW_COPY_AND_ASSIGN(PartialMagnificationController);
87 }; 83 };
88 84
89 } // namespace ash 85 } // namespace ash
90 86
91 #endif // ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_ 87 #endif // ASH_MAGNIFIER_PARTIAL_MAGNIFICATION_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/display/mouse_cursor_event_filter_unittest.cc ('k') | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698