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

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

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_base.h" 5 #include "content/browser/renderer_host/render_widget_host_view_base.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/browser/accessibility/browser_accessibility_manager.h" 8 #include "content/browser/accessibility/browser_accessibility_manager.h"
9 #include "content/browser/gpu/gpu_data_manager_impl.h" 9 #include "content/browser/gpu/gpu_data_manager_impl.h"
10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h" 10 #include "content/browser/renderer_host/input/synthetic_gesture_target_base.h"
(...skipping 16 matching lines...) Expand all
27 #include "content/common/plugin_constants_win.h" 27 #include "content/common/plugin_constants_win.h"
28 #include "content/common/webplugin_geometry.h" 28 #include "content/common/webplugin_geometry.h"
29 #include "content/public/browser/browser_thread.h" 29 #include "content/public/browser/browser_thread.h"
30 #include "content/public/browser/child_process_data.h" 30 #include "content/public/browser/child_process_data.h"
31 #include "content/public/common/content_switches.h" 31 #include "content/public/common/content_switches.h"
32 #include "ui/gfx/gdi_util.h" 32 #include "ui/gfx/gdi_util.h"
33 #include "ui/gfx/win/dpi.h" 33 #include "ui/gfx/win/dpi.h"
34 #include "ui/gfx/win/hwnd_util.h" 34 #include "ui/gfx/win/hwnd_util.h"
35 #endif 35 #endif
36 36
37 #if defined(TOOLKIT_GTK)
38 #include <gdk/gdkx.h>
39 #include <gtk/gtk.h>
40
41 #include "content/browser/renderer_host/gtk_window_utils.h"
42 #endif
43
44 namespace content { 37 namespace content {
45 38
46 // static 39 // static
47 RenderWidgetHostViewPort* RenderWidgetHostViewPort::FromRWHV( 40 RenderWidgetHostViewPort* RenderWidgetHostViewPort::FromRWHV(
48 RenderWidgetHostView* rwhv) { 41 RenderWidgetHostView* rwhv) {
49 return static_cast<RenderWidgetHostViewPort*>(rwhv); 42 return static_cast<RenderWidgetHostViewPort*>(rwhv);
50 } 43 }
51 44
52 // static 45 // static
53 RenderWidgetHostViewPort* RenderWidgetHostViewPort::CreateViewForWidget( 46 RenderWidgetHostViewPort* RenderWidgetHostViewPort::CreateViewForWidget(
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 if (!impl) 602 if (!impl)
610 return; 603 return;
611 impl->FlushInput(); 604 impl->FlushInput();
612 } 605 }
613 606
614 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() { 607 SkBitmap::Config RenderWidgetHostViewBase::PreferredReadbackFormat() {
615 return SkBitmap::kARGB_8888_Config; 608 return SkBitmap::kARGB_8888_Config;
616 } 609 }
617 610
618 } // namespace content 611 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698