OLD | NEW |
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 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 | 1181 |
1182 void RenderWidgetHostViewGtk::DestroyPluginContainer( | 1182 void RenderWidgetHostViewGtk::DestroyPluginContainer( |
1183 gfx::PluginWindowHandle id) { | 1183 gfx::PluginWindowHandle id) { |
1184 plugin_container_manager_.DestroyPluginContainer(id); | 1184 plugin_container_manager_.DestroyPluginContainer(id); |
1185 } | 1185 } |
1186 | 1186 |
1187 void RenderWidgetHostViewGtk::UnhandledWheelEvent( | 1187 void RenderWidgetHostViewGtk::UnhandledWheelEvent( |
1188 const WebKit::WebMouseWheelEvent& event) { | 1188 const WebKit::WebMouseWheelEvent& event) { |
1189 } | 1189 } |
1190 | 1190 |
1191 void RenderWidgetHostViewGtk::ProcessTouchAck(bool processed) { | 1191 void RenderWidgetHostViewGtk::ProcessTouchAck( |
| 1192 WebKit::WebInputEvent::Type type, bool processed) { |
1192 } | 1193 } |
1193 | 1194 |
1194 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( | 1195 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( |
1195 bool has_horizontal_scrollbar) { | 1196 bool has_horizontal_scrollbar) { |
1196 } | 1197 } |
1197 | 1198 |
1198 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( | 1199 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( |
1199 bool is_pinned_to_left, bool is_pinned_to_right) { | 1200 bool is_pinned_to_left, bool is_pinned_to_right) { |
1200 } | 1201 } |
1201 | 1202 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1416 return new RenderWidgetHostViewGtk(widget); | 1417 return new RenderWidgetHostViewGtk(widget); |
1417 } | 1418 } |
1418 | 1419 |
1419 // static | 1420 // static |
1420 void content::RenderWidgetHostViewPort::GetDefaultScreenInfo( | 1421 void content::RenderWidgetHostViewPort::GetDefaultScreenInfo( |
1421 WebKit::WebScreenInfo* results) { | 1422 WebKit::WebScreenInfo* results) { |
1422 GdkWindow* gdk_window = | 1423 GdkWindow* gdk_window = |
1423 gdk_display_get_default_group(gdk_display_get_default()); | 1424 gdk_display_get_default_group(gdk_display_get_default()); |
1424 content::GetScreenInfoFromNativeWindow(gdk_window, results); | 1425 content::GetScreenInfoFromNativeWindow(gdk_window, results); |
1425 } | 1426 } |
OLD | NEW |