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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
7 | 7 |
8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; | 169 virtual void AccessibilityDoDefaultAction(int acc_obj_id) OVERRIDE; |
170 virtual void AccessibilityScrollToMakeVisible( | 170 virtual void AccessibilityScrollToMakeVisible( |
171 int acc_obj_id, gfx::Rect subfocus) OVERRIDE; | 171 int acc_obj_id, gfx::Rect subfocus) OVERRIDE; |
172 virtual void AccessibilityScrollToPoint( | 172 virtual void AccessibilityScrollToPoint( |
173 int acc_obj_id, gfx::Point point) OVERRIDE; | 173 int acc_obj_id, gfx::Point point) OVERRIDE; |
174 virtual void AccessibilitySetTextSelection( | 174 virtual void AccessibilitySetTextSelection( |
175 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; | 175 int acc_obj_id, int start_offset, int end_offset) OVERRIDE; |
176 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; | 176 virtual gfx::Point GetLastTouchEventLocation() const OVERRIDE; |
177 virtual void FatalAccessibilityTreeError() OVERRIDE; | 177 virtual void FatalAccessibilityTreeError() OVERRIDE; |
178 | 178 |
| 179 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 180 |
179 // Get the root of the AtkObject* tree for accessibility. | 181 // Get the root of the AtkObject* tree for accessibility. |
180 AtkObject* GetAccessible(); | 182 AtkObject* GetAccessible(); |
181 | 183 |
182 protected: | 184 protected: |
183 friend class RenderWidgetHostView; | 185 friend class RenderWidgetHostView; |
184 | 186 |
185 // Should construct only via RenderWidgetHostView::CreateViewForWidget. | 187 // Should construct only via RenderWidgetHostView::CreateViewForWidget. |
186 explicit RenderWidgetHostViewGtk(RenderWidgetHost* widget); | 188 explicit RenderWidgetHostViewGtk(RenderWidgetHost* widget); |
187 | 189 |
188 private: | 190 private: |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 332 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
331 | 333 |
332 ui::GtkSignalRegistrar signals_; | 334 ui::GtkSignalRegistrar signals_; |
333 | 335 |
334 std::vector<ui::LatencyInfo> software_latency_info_; | 336 std::vector<ui::LatencyInfo> software_latency_info_; |
335 }; | 337 }; |
336 | 338 |
337 } // namespace content | 339 } // namespace content |
338 | 340 |
339 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 341 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |