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

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

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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_gtk.h" 5 #include "content/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 "content/common/view_messages.h" 10 #include "content/common/view_messages.h"
(...skipping 13 matching lines...) Expand all
24 #include "base/metrics/histogram.h" 24 #include "base/metrics/histogram.h"
25 #include "base/string_number_conversions.h" 25 #include "base/string_number_conversions.h"
26 #include "base/time.h" 26 #include "base/time.h"
27 #include "base/utf_string_conversions.h" 27 #include "base/utf_string_conversions.h"
28 #include "content/browser/renderer_host/backing_store_gtk.h" 28 #include "content/browser/renderer_host/backing_store_gtk.h"
29 #include "content/browser/renderer_host/gtk_im_context_wrapper.h" 29 #include "content/browser/renderer_host/gtk_im_context_wrapper.h"
30 #include "content/browser/renderer_host/gtk_window_utils.h" 30 #include "content/browser/renderer_host/gtk_window_utils.h"
31 #include "content/browser/renderer_host/render_view_host.h" 31 #include "content/browser/renderer_host/render_view_host.h"
32 #include "content/browser/renderer_host/render_view_host_delegate.h" 32 #include "content/browser/renderer_host/render_view_host_delegate.h"
33 #include "content/browser/renderer_host/render_widget_host.h" 33 #include "content/browser/renderer_host/render_widget_host.h"
34 #include "content/common/content_switches.h"
35 #include "content/common/native_web_keyboard_event.h" 34 #include "content/common/native_web_keyboard_event.h"
35 #include "content/public/common/content_switches.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/WebScreenInfo.h" 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
38 #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"
39 #include "third_party/WebKit/Source/WebKit/chromium/public/x11/WebScreenInfoFact ory.h" 39 #include "third_party/WebKit/Source/WebKit/chromium/public/x11/WebScreenInfoFact ory.h"
40 #include "ui/base/text/text_elider.h" 40 #include "ui/base/text/text_elider.h"
41 #include "ui/base/x/x11_util.h" 41 #include "ui/base/x/x11_util.h"
42 #include "ui/gfx/gtk_native_view_id_manager.h" 42 #include "ui/gfx/gtk_native_view_id_manager.h"
43 #include "ui/gfx/gtk_preserve_window.h" 43 #include "ui/gfx/gtk_preserve_window.h"
44 #include "webkit/glue/webaccessibility.h" 44 #include "webkit/glue/webaccessibility.h"
45 #include "webkit/glue/webcursor_gtk_data.h" 45 #include "webkit/glue/webcursor_gtk_data.h"
(...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after
1397 } 1397 }
1398 } 1398 }
1399 1399
1400 // static 1400 // static
1401 void RenderWidgetHostView::GetDefaultScreenInfo( 1401 void RenderWidgetHostView::GetDefaultScreenInfo(
1402 WebKit::WebScreenInfo* results) { 1402 WebKit::WebScreenInfo* results) {
1403 GdkWindow* gdk_window = 1403 GdkWindow* gdk_window =
1404 gdk_display_get_default_group(gdk_display_get_default()); 1404 gdk_display_get_default_group(gdk_display_get_default());
1405 content::GetScreenInfoFromNativeWindow(gdk_window, results); 1405 content::GetScreenInfoFromNativeWindow(gdk_window, results);
1406 } 1406 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host.cc ('k') | content/browser/renderer_host/render_widget_host_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698