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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 8346017: Move content_browser_client.h to public, and while at it, move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a file post merge. Created 9 years, 2 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 | Annotate | Revision Log
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 #include "content/browser/renderer_host/render_widget_host_view_win.h" 5 #include "content/browser/renderer_host/render_widget_host_view_win.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "base/win/scoped_comptr.h" 14 #include "base/win/scoped_comptr.h"
15 #include "base/win/scoped_gdi_object.h" 15 #include "base/win/scoped_gdi_object.h"
16 #include "base/win/win_util.h" 16 #include "base/win/win_util.h"
17 #include "base/win/wrapped_window_proc.h" 17 #include "base/win/wrapped_window_proc.h"
18 #include "content/browser/accessibility/browser_accessibility_manager.h" 18 #include "content/browser/accessibility/browser_accessibility_manager.h"
19 #include "content/browser/accessibility/browser_accessibility_state.h" 19 #include "content/browser/accessibility/browser_accessibility_state.h"
20 #include "content/browser/accessibility/browser_accessibility_win.h" 20 #include "content/browser/accessibility/browser_accessibility_win.h"
21 #include "content/browser/browser_thread.h" 21 #include "content/browser/browser_thread.h"
22 #include "content/browser/content_browser_client.h"
23 #include "content/browser/plugin_process_host.h" 22 #include "content/browser/plugin_process_host.h"
24 #include "content/browser/renderer_host/backing_store.h" 23 #include "content/browser/renderer_host/backing_store.h"
25 #include "content/browser/renderer_host/backing_store_win.h" 24 #include "content/browser/renderer_host/backing_store_win.h"
26 #include "content/browser/renderer_host/render_process_host.h" 25 #include "content/browser/renderer_host/render_process_host.h"
27 #include "content/browser/renderer_host/render_widget_host.h" 26 #include "content/browser/renderer_host/render_widget_host.h"
28 #include "content/common/notification_service.h" 27 #include "content/common/notification_service.h"
29 #include "content/common/plugin_messages.h" 28 #include "content/common/plugin_messages.h"
30 #include "content/common/view_messages.h" 29 #include "content/common/view_messages.h"
30 #include "content/public/browser/content_browser_client.h"
31 #include "content/public/browser/native_web_keyboard_event.h" 31 #include "content/public/browser/native_web_keyboard_event.h"
32 #include "content/public/browser/notification_types.h" 32 #include "content/public/browser/notification_types.h"
33 #include "content/public/common/content_switches.h" 33 #include "content/public/common/content_switches.h"
34 #include "skia/ext/skia_utils_win.h" 34 #include "skia/ext/skia_utils_win.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli ne.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
37 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact ory.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact ory.h"
38 #include "ui/base/ime/composition_text.h" 38 #include "ui/base/ime/composition_text.h"
39 #include "ui/base/l10n/l10n_util_win.h" 39 #include "ui/base/l10n/l10n_util_win.h"
40 #include "ui/base/text/text_elider.h" 40 #include "ui/base/text/text_elider.h"
(...skipping 1898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 if (message == WM_MOUSEMOVE) { 1939 if (message == WM_MOUSEMOVE) {
1940 CPoint center = GetClientCenter(); 1940 CPoint center = GetClientCenter();
1941 // Ignore WM_MOUSEMOVE messages generated by MoveCursorToCenter(). 1941 // Ignore WM_MOUSEMOVE messages generated by MoveCursorToCenter().
1942 if (LOWORD(lparam) == center.x && HIWORD(lparam) == center.y) 1942 if (LOWORD(lparam) == center.x && HIWORD(lparam) == center.y)
1943 return; 1943 return;
1944 } 1944 }
1945 1945
1946 ForwardMouseEventToRenderer(message, wparam, lparam); 1946 ForwardMouseEventToRenderer(message, wparam, lparam);
1947 } 1947 }
1948 1948
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698