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

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

Issue 9838009: Clean up a few TODO items. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 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) 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_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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1135 void RenderWidgetHostViewGtk::CreatePluginContainer( 1135 void RenderWidgetHostViewGtk::CreatePluginContainer(
1136 gfx::PluginWindowHandle id) { 1136 gfx::PluginWindowHandle id) {
1137 plugin_container_manager_.CreatePluginContainer(id); 1137 plugin_container_manager_.CreatePluginContainer(id);
1138 } 1138 }
1139 1139
1140 void RenderWidgetHostViewGtk::DestroyPluginContainer( 1140 void RenderWidgetHostViewGtk::DestroyPluginContainer(
1141 gfx::PluginWindowHandle id) { 1141 gfx::PluginWindowHandle id) {
1142 plugin_container_manager_.DestroyPluginContainer(id); 1142 plugin_container_manager_.DestroyPluginContainer(id);
1143 } 1143 }
1144 1144
1145 void RenderWidgetHostViewGtk::UnhandledWheelEvent(
1146 const WebKit::WebMouseWheelEvent& event) {
1147 }
1148
1149 void RenderWidgetHostViewGtk::ProcessTouchAck( 1145 void RenderWidgetHostViewGtk::ProcessTouchAck(
1150 WebKit::WebInputEvent::Type type, bool processed) { 1146 WebKit::WebInputEvent::Type type, bool processed) {
1151 } 1147 }
1152 1148
1153 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( 1149 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar(
1154 bool has_horizontal_scrollbar) { 1150 bool has_horizontal_scrollbar) {
1155 } 1151 }
1156 1152
1157 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( 1153 void RenderWidgetHostViewGtk::SetScrollOffsetPinning(
1158 bool is_pinned_to_left, bool is_pinned_to_right) { 1154 bool is_pinned_to_left, bool is_pinned_to_right) {
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1373 return new RenderWidgetHostViewGtk(widget); 1369 return new RenderWidgetHostViewGtk(widget);
1374 } 1370 }
1375 1371
1376 // static 1372 // static
1377 void content::RenderWidgetHostViewPort::GetDefaultScreenInfo( 1373 void content::RenderWidgetHostViewPort::GetDefaultScreenInfo(
1378 WebKit::WebScreenInfo* results) { 1374 WebKit::WebScreenInfo* results) {
1379 GdkWindow* gdk_window = 1375 GdkWindow* gdk_window =
1380 gdk_display_get_default_group(gdk_display_get_default()); 1376 gdk_display_get_default_group(gdk_display_get_default());
1381 content::GetScreenInfoFromNativeWindow(gdk_window, results); 1377 content::GetScreenInfoFromNativeWindow(gdk_window, results);
1382 } 1378 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698