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

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_gtk.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_gtk.h" 5 #include "chrome/browser/renderer_host/render_widget_host_view_gtk.h"
6 6
7 // If this gets included after the gtk headers, then a bunch of compiler 7 // If this gets included after the gtk headers, then a bunch of compiler
8 // errors happen because of a "#define Status int" in Xlib.h, which interacts 8 // errors happen because of a "#define Status int" in Xlib.h, which interacts
9 // badly with net::URLRequestStatus::Status. 9 // badly with net::URLRequestStatus::Status.
10 #include "chrome/common/render_messages.h" 10 #include "chrome/common/render_messages.h"
(...skipping 16 matching lines...) Expand all
27 #include "base/utf_string_conversions.h" 27 #include "base/utf_string_conversions.h"
28 #include "chrome/browser/renderer_host/gtk_im_context_wrapper.h" 28 #include "chrome/browser/renderer_host/gtk_im_context_wrapper.h"
29 #include "chrome/browser/renderer_host/gtk_key_bindings_handler.h" 29 #include "chrome/browser/renderer_host/gtk_key_bindings_handler.h"
30 #include "chrome/browser/ui/gtk/gtk_util.h" 30 #include "chrome/browser/ui/gtk/gtk_util.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "content/browser/renderer_host/backing_store_x.h" 32 #include "content/browser/renderer_host/backing_store_x.h"
33 #include "content/browser/renderer_host/render_view_host.h" 33 #include "content/browser/renderer_host/render_view_host.h"
34 #include "content/browser/renderer_host/render_view_host_delegate.h" 34 #include "content/browser/renderer_host/render_view_host_delegate.h"
35 #include "content/browser/renderer_host/render_widget_host.h" 35 #include "content/browser/renderer_host/render_widget_host.h"
36 #include "content/common/native_web_keyboard_event.h" 36 #include "content/common/native_web_keyboard_event.h"
37 #include "content/common/view_messages.h"
37 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact ory.h" 38 #include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFact ory.h"
38 #include "ui/base/l10n/l10n_util.h" 39 #include "ui/base/l10n/l10n_util.h"
39 #include "ui/base/x/x11_util.h" 40 #include "ui/base/x/x11_util.h"
40 #include "ui/gfx/gtk_preserve_window.h" 41 #include "ui/gfx/gtk_preserve_window.h"
41 #include "ui/gfx/gtk_native_view_id_manager.h" 42 #include "ui/gfx/gtk_native_view_id_manager.h"
42 #include "webkit/glue/webaccessibility.h" 43 #include "webkit/glue/webaccessibility.h"
43 #include "webkit/glue/webcursor_gtk_data.h" 44 #include "webkit/glue/webcursor_gtk_data.h"
44 #include "webkit/plugins/npapi/webplugin.h" 45 #include "webkit/plugins/npapi/webplugin.h"
45 46
46 #if defined(OS_CHROMEOS) 47 #if defined(OS_CHROMEOS)
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after
1174 } 1175 }
1175 1176
1176 // static 1177 // static
1177 RenderWidgetHostView* 1178 RenderWidgetHostView*
1178 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView( 1179 RenderWidgetHostView::GetRenderWidgetHostViewFromNativeView(
1179 gfx::NativeView widget) { 1180 gfx::NativeView widget) {
1180 gpointer user_data = g_object_get_data(G_OBJECT(widget), 1181 gpointer user_data = g_object_get_data(G_OBJECT(widget),
1181 kRenderWidgetHostViewKey); 1182 kRenderWidgetHostViewKey);
1182 return reinterpret_cast<RenderWidgetHostView*>(user_data); 1183 return reinterpret_cast<RenderWidgetHostView*>(user_data);
1183 } 1184 }
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_host.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698