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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.cc

Issue 10824295: Rid the world of the last of views::Event types: TouchEvent, GestureEvent, MouseWheelEvent, ScrollE… (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 | « chrome/browser/ui/views/tabs/tab_strip.h ('k') | chrome/browser/ui/views/toolbar_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.cc
===================================================================
--- chrome/browser/ui/views/tabs/tab_strip.cc (revision 151481)
+++ chrome/browser/ui/views/tabs/tab_strip.cc (working copy)
@@ -58,7 +58,7 @@
#endif
using content::UserMetricsAction;
-using views::DropTargetEvent;
+using ui::DropTargetEvent;
namespace {
@@ -297,7 +297,7 @@
void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
#endif
virtual ui::GestureStatus OnGestureEvent(
- const views::GestureEvent& event) OVERRIDE;
+ const ui::GestureEvent& event) OVERRIDE;
void OnPaint(gfx::Canvas* canvas) OVERRIDE;
private:
@@ -366,7 +366,7 @@
#endif
ui::GestureStatus NewTabButton::OnGestureEvent(
- const views::GestureEvent& event) {
+ const ui::GestureEvent& event) {
// Consume all gesture events here so that the parent (BaseTab) does not
// start consuming gestures.
views::ImageButton::OnGestureEvent(event);
@@ -1410,7 +1410,7 @@
}
ui::GestureStatus TabStrip::OnGestureEvent(
- const views::GestureEvent& event) {
+ const ui::GestureEvent& event) {
switch (event.type()) {
case ui::ET_GESTURE_END:
EndDrag(false);
@@ -2111,7 +2111,7 @@
drop_info_->arrow_window->Show();
}
-int TabStrip::GetDropEffect(const views::DropTargetEvent& event) {
+int TabStrip::GetDropEffect(const ui::DropTargetEvent& event) {
const int source_ops = event.source_operations();
if (source_ops & ui::DragDropTypes::DRAG_COPY)
return ui::DragDropTypes::DRAG_COPY;
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.h ('k') | chrome/browser/ui/views/toolbar_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698