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

Unified Diff: ui/views/widget/native_widget_win.cc

Issue 10479010: Gesture related changes for views: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test and add some mores Created 8 years, 6 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 | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_win.cc
diff --git a/ui/views/widget/native_widget_win.cc b/ui/views/widget/native_widget_win.cc
index ac234835b5a39624343fa46fd87e7a2af77febe7..fbcf4613f6ba3d6e6941083a1836082bd4f5e8e8 100644
--- a/ui/views/widget/native_widget_win.cc
+++ b/ui/views/widget/native_widget_win.cc
@@ -2723,6 +2723,13 @@ bool NativeWidgetPrivate::IsMouseButtonDown() {
(GetKeyState(VK_XBUTTON2) & 0x80);
}
+// static
+bool NativeWidgetPrivate::IsTouchDown() {
+ // This currently isn't necessary because we're not generating touch events on
+ // windows. When we do, this will need to be updated.
+ return false;
+}
+
} // namespace internal
} // namespace views
« no previous file with comments | « ui/views/widget/native_widget_private.h ('k') | ui/views/widget/root_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698