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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 7706011: Use precompiled headers for most large projects. (Closed) Base URL: ssh://joi@192.168.1.201/home/joi/c/chrome/src@master
Patch Set: Merge to lkgr. Created 9 years, 3 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_frame/chrome_frame.gyp ('k') | content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index f87c1aa913c9d5e2ef7568fc39c8f4d41da83859..22d4f49432b802fd67d3f1ffbf826279730c28a6 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -2,13 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Need Win 7 headers for WM_GESTURE and ChangeWindowMessageFilterEx
+// Need a few defines from Win 7 headers for WM_GESTURE and
+// ChangeWindowMessageFilterEx.
// TODO(jschuh): See crbug.com/92941 for longterm fix.
-#undef WINVER
-#define WINVER _WIN32_WINNT_WIN7
-#undef _WIN32_WINNT
-#define _WIN32_WINNT _WIN32_WINNT_WIN7
#include <windows.h>
+#if(WINVER < 0x0601)
+typedef struct tagCHANGEFILTERSTRUCT {
+ DWORD cbSize;
+ DWORD ExtStatus;
+} CHANGEFILTERSTRUCT, *PCHANGEFILTERSTRUCT;
+#define MSGFLT_ALLOW (1)
+#define WM_GESTURE 0x0119
+#endif // WINVER < 0x0601
#include "content/browser/renderer_host/render_widget_host_view_win.h"
« no previous file with comments | « chrome_frame/chrome_frame.gyp ('k') | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698