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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 1244 void RenderWidgetHostViewGtk::ProcessTouchAck(bool processed) { |
1245 WebKit::WebInputEvent::Type type, bool processed) { | |
1246 } | 1245 } |
1247 | 1246 |
1248 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( | 1247 void RenderWidgetHostViewGtk::SetHasHorizontalScrollbar( |
1249 bool has_horizontal_scrollbar) { | 1248 bool has_horizontal_scrollbar) { |
1250 } | 1249 } |
1251 | 1250 |
1252 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( | 1251 void RenderWidgetHostViewGtk::SetScrollOffsetPinning( |
1253 bool is_pinned_to_left, bool is_pinned_to_right) { | 1252 bool is_pinned_to_left, bool is_pinned_to_right) { |
1254 } | 1253 } |
1255 | 1254 |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1551 this)); | 1550 this)); |
1552 } | 1551 } |
1553 BrowserAccessibilityGtk* root = | 1552 BrowserAccessibilityGtk* root = |
1554 browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk(); | 1553 browser_accessibility_manager_->GetRoot()->ToBrowserAccessibilityGtk(); |
1555 | 1554 |
1556 atk_object_set_role(root->GetAtkObject(), ATK_ROLE_HTML_CONTAINER); | 1555 atk_object_set_role(root->GetAtkObject(), ATK_ROLE_HTML_CONTAINER); |
1557 return root->GetAtkObject(); | 1556 return root->GetAtkObject(); |
1558 } | 1557 } |
1559 | 1558 |
1560 } // namespace content | 1559 } // namespace content |
OLD | NEW |