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

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

Issue 11148008: touch-event queue: Add a touch-event queue for all platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 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) 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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 void RenderWidgetHostViewGtk::CreatePluginContainer( 1234 void RenderWidgetHostViewGtk::CreatePluginContainer(
1235 gfx::PluginWindowHandle id) { 1235 gfx::PluginWindowHandle id) {
1236 plugin_container_manager_.CreatePluginContainer(id); 1236 plugin_container_manager_.CreatePluginContainer(id);
1237 } 1237 }
1238 1238
1239 void RenderWidgetHostViewGtk::DestroyPluginContainer( 1239 void RenderWidgetHostViewGtk::DestroyPluginContainer(
1240 gfx::PluginWindowHandle id) { 1240 gfx::PluginWindowHandle id) {
1241 plugin_container_manager_.DestroyPluginContainer(id); 1241 plugin_container_manager_.DestroyPluginContainer(id);
1242 } 1242 }
1243 1243
1244 void RenderWidgetHostViewGtk::ProcessTouchAck(bool processed) {
1245 }
1246
1247 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( 1244 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar(
1248 bool has_horizontal_scrollbar) { 1245 bool has_horizontal_scrollbar) {
1249 } 1246 }
1250 1247
1251 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( 1248 void RenderWidgetHostViewGtk::SetScrollOffsetPinning(
1252 bool is_pinned_to_left, bool is_pinned_to_right) { 1249 bool is_pinned_to_left, bool is_pinned_to_right) {
1253 } 1250 }
1254 1251
1255 1252
1256 void RenderWidgetHostViewGtk::OnAcceleratedCompositingStateChange() { 1253 void RenderWidgetHostViewGtk::OnAcceleratedCompositingStateChange() {
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 this)); 1547 this));
1551 } 1548 }
1552 BrowserAccessibilityGtk* root = 1549 BrowserAccessibilityGtk* root =
1553 browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk(); 1550 browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk();
1554 1551
1555 atk_object_set_role(root->GetAtkObject(), ATK_ROLE_HTML_CONTAINER); 1552 atk_object_set_role(root->GetAtkObject(), ATK_ROLE_HTML_CONTAINER);
1556 return root->GetAtkObject(); 1553 return root->GetAtkObject();
1557 } 1554 }
1558 1555
1559 } // namespace content 1556 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698