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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « chrome_frame/chrome_frame.gyp ('k') | content/content.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Need Win 7 headers for WM_GESTURE and ChangeWindowMessageFilterEx 5 // Need a few defines from Win 7 headers for WM_GESTURE and
6 // ChangeWindowMessageFilterEx.
6 // TODO(jschuh): See crbug.com/92941 for longterm fix. 7 // TODO(jschuh): See crbug.com/92941 for longterm fix.
7 #undef WINVER
8 #define WINVER _WIN32_WINNT_WIN7
9 #undef _WIN32_WINNT
10 #define _WIN32_WINNT _WIN32_WINNT_WIN7
11 #include <windows.h> 8 #include <windows.h>
9 #if(WINVER < 0x0601)
10 typedef struct tagCHANGEFILTERSTRUCT {
11 DWORD cbSize;
12 DWORD ExtStatus;
13 } CHANGEFILTERSTRUCT, *PCHANGEFILTERSTRUCT;
14 #define MSGFLT_ALLOW (1)
15 #define WM_GESTURE 0x0119
16 #endif // WINVER < 0x0601
12 17
13 #include "content/browser/renderer_host/render_widget_host_view_win.h" 18 #include "content/browser/renderer_host/render_widget_host_view_win.h"
14 19
15 #include <algorithm> 20 #include <algorithm>
16 21
17 #include "base/command_line.h" 22 #include "base/command_line.h"
18 #include "base/i18n/rtl.h" 23 #include "base/i18n/rtl.h"
19 #include "base/metrics/histogram.h" 24 #include "base/metrics/histogram.h"
20 #include "base/process_util.h" 25 #include "base/process_util.h"
21 #include "base/threading/thread.h" 26 #include "base/threading/thread.h"
(...skipping 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 DWORD ex_style) { 1841 DWORD ex_style) {
1837 parent_hwnd_ = parent_hwnd; 1842 parent_hwnd_ = parent_hwnd;
1838 Create(parent_hwnd_, NULL, NULL, WS_POPUP, ex_style); 1843 Create(parent_hwnd_, NULL, NULL, WS_POPUP, ex_style);
1839 MoveWindow(pos.x(), pos.y(), pos.width(), pos.height(), TRUE); 1844 MoveWindow(pos.x(), pos.y(), pos.width(), pos.height(), TRUE);
1840 // To show tooltip on popup window.(e.g. title in <select>) 1845 // To show tooltip on popup window.(e.g. title in <select>)
1841 // Popups default to showing, which means |DidBecomeSelected()| isn't invoked. 1846 // Popups default to showing, which means |DidBecomeSelected()| isn't invoked.
1842 // Ensure the tooltip is created otherwise tooltips are never shown. 1847 // Ensure the tooltip is created otherwise tooltips are never shown.
1843 EnsureTooltip(); 1848 EnsureTooltip();
1844 ShowWindow(IsActivatable() ? SW_SHOW : SW_SHOWNA); 1849 ShowWindow(IsActivatable() ? SW_SHOW : SW_SHOWNA);
1845 } 1850 }
OLDNEW
« 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