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

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

Issue 6705012: Move the rest of the content browser->renderer messages to content. Also move drag related messa... (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"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/common/render_messages.h" 23 #include "chrome/common/render_messages.h"
24 #include "content/browser/browser_thread.h" 24 #include "content/browser/browser_thread.h"
25 #include "content/browser/plugin_process_host.h" 25 #include "content/browser/plugin_process_host.h"
26 #include "content/browser/renderer_host/backing_store.h" 26 #include "content/browser/renderer_host/backing_store.h"
27 #include "content/browser/renderer_host/backing_store_win.h" 27 #include "content/browser/renderer_host/backing_store_win.h"
28 #include "content/browser/renderer_host/render_process_host.h" 28 #include "content/browser/renderer_host/render_process_host.h"
29 #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" 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 "content/common/view_messages.h"
33 #include "grit/webkit_resources.h" 34 #include "grit/webkit_resources.h"
34 #include "skia/ext/skia_utils_win.h" 35 #include "skia/ext/skia_utils_win.h"
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
36 #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"
37 #include "ui/base/l10n/l10n_util.h" 38 #include "ui/base/l10n/l10n_util.h"
38 #include "ui/base/l10n/l10n_util_win.h" 39 #include "ui/base/l10n/l10n_util_win.h"
39 #include "ui/base/resource/resource_bundle.h" 40 #include "ui/base/resource/resource_bundle.h"
40 #include "ui/base/view_prop.h" 41 #include "ui/base/view_prop.h"
41 #include "ui/base/win/hwnd_util.h" 42 #include "ui/base/win/hwnd_util.h"
42 #include "ui/gfx/canvas.h" 43 #include "ui/gfx/canvas.h"
(...skipping 1823 matching lines...) Expand 10 before | Expand all | Expand 10 after
1866 } 1867 }
1867 1868
1868 // static 1869 // static
1869 RenderWidgetHostView* 1870 RenderWidgetHostView*
1870 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( 1871 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView(
1871 gfx::NativeView native_view) { 1872 gfx::NativeView native_view) {
1872 return ::IsWindow(native_view) ? 1873 return ::IsWindow(native_view) ?
1873 reinterpret_cast<RenderWidgetHostView*>( 1874 reinterpret_cast<RenderWidgetHostView*>(
1874 ViewProp::GetValue(native_view, kRenderWidgetHostViewKey)) : NULL; 1875 ViewProp::GetValue(native_view, kRenderWidgetHostViewKey)) : NULL;
1875 } 1876 }
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_mac.mm ('k') | chrome/browser/tab_contents/web_contents_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698