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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_view_win.cc

Issue 12566007: Wrap calls to GetTouchInputInfo (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Correcting namespace references. Created 7 years, 9 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: chrome/browser/ui/views/omnibox/omnibox_view_win.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
index 840cc92af2b7d7e1b442c953c1056f97de97198f..c449fb5cc6cfbecfc402efda0b0eb8c76e311e7a 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc
@@ -63,6 +63,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/l10n/l10n_util_win.h"
#include "ui/base/win/mouse_wheel_util.h"
+#include "ui/base/win/touch_input.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/image/image.h"
#include "ui/views/button_drag_utils.h"
@@ -1570,8 +1571,8 @@ LRESULT OmniboxViewWin::OnTouchEvent(UINT message,
// single-point tap on an unfocused model.
if ((wparam == 1) && !model()->has_focus()) {
TOUCHINPUT point = {0};
- if (GetTouchInputInfo(reinterpret_cast<HTOUCHINPUT>(lparam), 1,
- &point, sizeof(TOUCHINPUT))) {
+ if (ui::GetTouchInputInfoWrapper(reinterpret_cast<HTOUCHINPUT>(lparam), 1,
+ &point, sizeof(TOUCHINPUT))) {
if (point.dwFlags & TOUCHEVENTF_DOWN)
SetCapture();
else if (point.dwFlags & TOUCHEVENTF_UP)
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | ui/base/win/touch_input.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698