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

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

Issue 9572033: Revert 124813 - Improve switch between gestures and touch mode when kEnableTouchEvents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 1191 void RenderWidgetHostViewGtk::ProcessTouchAck(bool processed) {
1192 WebKit::WebInputEvent::Type type, bool processed) {
1193 } 1192 }
1194 1193
1195 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( 1194 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar(
1196 bool has_horizontal_scrollbar) { 1195 bool has_horizontal_scrollbar) {
1197 } 1196 }
1198 1197
1199 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( 1198 void RenderWidgetHostViewGtk::SetScrollOffsetPinning(
1200 bool is_pinned_to_left, bool is_pinned_to_right) { 1199 bool is_pinned_to_left, bool is_pinned_to_right) {
1201 } 1200 }
1202 1201
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 return new RenderWidgetHostViewGtk(widget); 1416 return new RenderWidgetHostViewGtk(widget);
1418 } 1417 }
1419 1418
1420 // static 1419 // static
1421 void content::RenderWidgetHostViewPort::GetDefaultScreenInfo( 1420 void content::RenderWidgetHostViewPort::GetDefaultScreenInfo(
1422 WebKit::WebScreenInfo* results) { 1421 WebKit::WebScreenInfo* results) {
1423 GdkWindow* gdk_window = 1422 GdkWindow* gdk_window =
1424 gdk_display_get_default_group(gdk_display_get_default()); 1423 gdk_display_get_default_group(gdk_display_get_default());
1425 content::GetScreenInfoFromNativeWindow(gdk_window, results); 1424 content::GetScreenInfoFromNativeWindow(gdk_window, results);
1426 } 1425 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698