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

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

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 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 "chrome/browser/renderer_host/render_widget_host_view_win.h" 5 #include "chrome/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/scoped_comptr_win.h" 13 #include "base/scoped_comptr_win.h"
14 #include "base/threading/thread.h" 14 #include "base/threading/thread.h"
15 #include "base/win/scoped_gdi_object.h" 15 #include "base/win/scoped_gdi_object.h"
16 #include "base/win/wrapped_window_proc.h" 16 #include "base/win/wrapped_window_proc.h"
17 #include "chrome/browser/accessibility/browser_accessibility_manager.h" 17 #include "chrome/browser/accessibility/browser_accessibility_manager.h"
18 #include "chrome/browser/accessibility/browser_accessibility_state.h" 18 #include "chrome/browser/accessibility/browser_accessibility_state.h"
19 #include "chrome/browser/accessibility/browser_accessibility_win.h" 19 #include "chrome/browser/accessibility/browser_accessibility_win.h"
20 #include "chrome/browser/browser_trial.h" 20 #include "chrome/browser/browser_trial.h"
21 #include "chrome/common/chrome_constants.h" 21 #include "chrome/common/chrome_constants.h"
22 #include "chrome/common/chrome_switches.h" 22 #include "chrome/common/chrome_switches.h"
23 #include "chrome/common/native_web_keyboard_event.h"
24 #include "chrome/common/render_messages.h" 23 #include "chrome/common/render_messages.h"
25 #include "content/browser/browser_thread.h" 24 #include "content/browser/browser_thread.h"
26 #include "content/browser/plugin_process_host.h" 25 #include "content/browser/plugin_process_host.h"
27 #include "content/browser/renderer_host/backing_store.h" 26 #include "content/browser/renderer_host/backing_store.h"
28 #include "content/browser/renderer_host/backing_store_win.h" 27 #include "content/browser/renderer_host/backing_store_win.h"
29 #include "content/browser/renderer_host/render_process_host.h" 28 #include "content/browser/renderer_host/render_process_host.h"
30 #include "content/browser/renderer_host/render_widget_host.h" 29 #include "content/browser/renderer_host/render_widget_host.h"
30 #include "content/common/native_web_keyboard_event.h"
31 #include "content/common/notification_service.h" 31 #include "content/common/notification_service.h"
32 #include "content/common/plugin_messages.h" 32 #include "content/common/plugin_messages.h"
33 #include "grit/webkit_resources.h" 33 #include "grit/webkit_resources.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/WebInputEvent.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
36 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact ory.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact ory.h"
37 #include "ui/base/l10n/l10n_util.h" 37 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/l10n/l10n_util_win.h" 38 #include "ui/base/l10n/l10n_util_win.h"
39 #include "ui/base/resource/resource_bundle.h" 39 #include "ui/base/resource/resource_bundle.h"
40 #include "ui/base/view_prop.h" 40 #include "ui/base/view_prop.h"
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after
1872 } 1872 }
1873 1873
1874 // static 1874 // static
1875 RenderWidgetHostView* 1875 RenderWidgetHostView*
1876 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( 1876 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView(
1877 gfx::NativeView native_view) { 1877 gfx::NativeView native_view) {
1878 return ::IsWindow(native_view) ? 1878 return ::IsWindow(native_view) ?
1879 reinterpret_cast<RenderWidgetHostView*>( 1879 reinterpret_cast<RenderWidgetHostView*>(
1880 ViewProp::GetValue(native_view, kRenderWidgetHostViewKey)) : NULL; 1880 ViewProp::GetValue(native_view, kRenderWidgetHostViewKey)) : NULL;
1881 } 1881 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698