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

Unified Diff: views/controls/native_control_gtk.h

Issue 8621006: Remove most obvious TOUCH_UI code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert file that CQ does not like. Created 9 years, 1 month 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 | « views/controls/menu/nested_dispatcher_gtk.cc ('k') | views/controls/native_control_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native_control_gtk.h
diff --git a/views/controls/native_control_gtk.h b/views/controls/native_control_gtk.h
index 0333e36fc42aed44ae1050f4c650a26cf1adfdab..89e1cb0528d3eaf3946ccd8e39a1908edc862fcc 100644
--- a/views/controls/native_control_gtk.h
+++ b/views/controls/native_control_gtk.h
@@ -25,16 +25,6 @@ class NativeControlGtk : public NativeViewHost {
virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child);
virtual void VisibilityChanged(View* starting_from, bool is_visible);
virtual void OnFocus();
-#if defined(TOUCH_UI)
- virtual bool OnMousePressed(const MouseEvent& event);
- virtual void OnMouseReleased(const MouseEvent& event);
- virtual void OnMouseMoved(const MouseEvent& event);
- virtual void OnMouseExited(const MouseEvent& event);
- virtual void OnMouseEntered(const MouseEvent& event);
-
- // Fake a mouse event.
- void FakeNativeMouseEvent(const MouseEvent& event);
-#endif
// Called when the NativeControlGtk is attached to a View hierarchy with a
// valid Widget. The NativeControlGtk should use this opportunity to create
« no previous file with comments | « views/controls/menu/nested_dispatcher_gtk.cc ('k') | views/controls/native_control_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698