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

Unified Diff: ash/wm/partial_screenshot_view.cc

Issue 10832282: Replace views::MouseEvent with ui::MouseEvent (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
« no previous file with comments | « ash/wm/partial_screenshot_view.h ('k') | ash/wm/system_modal_container_layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/partial_screenshot_view.cc
===================================================================
--- ash/wm/partial_screenshot_view.cc (revision 151406)
+++ ash/wm/partial_screenshot_view.cc (working copy)
@@ -59,7 +59,7 @@
}
gfx::NativeCursor PartialScreenshotView::GetCursor(
- const views::MouseEvent& event) {
+ const ui::MouseEvent& event) {
// Always use "crosshair" cursor.
return ui::kCursorCross;
}
@@ -96,12 +96,12 @@
Cancel();
}
-bool PartialScreenshotView::OnMousePressed(const views::MouseEvent& event) {
+bool PartialScreenshotView::OnMousePressed(const ui::MouseEvent& event) {
start_position_ = event.location();
return true;
}
-bool PartialScreenshotView::OnMouseDragged(const views::MouseEvent& event) {
+bool PartialScreenshotView::OnMouseDragged(const ui::MouseEvent& event) {
current_position_ = event.location();
SchedulePaint();
is_dragging_ = true;
@@ -113,7 +113,7 @@
return true;
}
-void PartialScreenshotView::OnMouseReleased(const views::MouseEvent& event) {
+void PartialScreenshotView::OnMouseReleased(const ui::MouseEvent& event) {
Cancel();
if (!is_dragging_)
return;
« no previous file with comments | « ash/wm/partial_screenshot_view.h ('k') | ash/wm/system_modal_container_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698