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

Unified Diff: ash/wm/workspace/frame_maximize_button.cc

Issue 10828265: Replace views::LocatedEvent with ui::LocatedEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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: ash/wm/workspace/frame_maximize_button.cc
===================================================================
--- ash/wm/workspace/frame_maximize_button.cc (revision 151267)
+++ ash/wm/workspace/frame_maximize_button.cc (working copy)
@@ -279,7 +279,7 @@
return ImageButton::OnGestureEvent(event);
}
-void FrameMaximizeButton::ProcessStartEvent(const views::LocatedEvent& event) {
+void FrameMaximizeButton::ProcessStartEvent(const ui::LocatedEvent& event) {
DCHECK(is_snap_enabled_);
// Prepare the help menu.
if (!maximizer_.get()) {
@@ -302,7 +302,7 @@
&FrameMaximizeButton::UpdateSnapFromEventLocation);
}
-void FrameMaximizeButton::ProcessUpdateEvent(const views::LocatedEvent& event) {
+void FrameMaximizeButton::ProcessUpdateEvent(const ui::LocatedEvent& event) {
DCHECK(is_snap_enabled_);
int delta_x = event.x() - press_location_.x();
int delta_y = event.y() - press_location_.y();
@@ -314,7 +314,7 @@
UpdateSnap(event.location());
}
-bool FrameMaximizeButton::ProcessEndEvent(const views::LocatedEvent& event) {
+bool FrameMaximizeButton::ProcessEndEvent(const ui::LocatedEvent& event) {
update_timer_.Stop();
UninstallEventFilter();
bool should_snap = is_snap_enabled_;
« no previous file with comments | « ash/wm/workspace/frame_maximize_button.h ('k') | chrome/browser/automation/testing_automation_provider_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698