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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 86 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
87 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 87 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
88 virtual void RenderViewGone(base::TerminationStatus status, | 88 virtual void RenderViewGone(base::TerminationStatus status, |
89 int error_code) OVERRIDE; | 89 int error_code) OVERRIDE; |
90 virtual void Destroy() OVERRIDE; | 90 virtual void Destroy() OVERRIDE; |
91 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 91 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
92 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 92 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
93 virtual void SelectionChanged(const string16& text, | 93 virtual void SelectionChanged(const string16& text, |
94 size_t offset, | 94 size_t offset, |
95 const ui::Range& range) OVERRIDE; | 95 const ui::Range& range) OVERRIDE; |
96 virtual void SelectionBoundsChanged(const gfx::Rect& start_rect, | 96 virtual void SelectionBoundsChanged( |
97 const gfx::Rect& end_rect) OVERRIDE; | 97 const gfx::Rect& start_rect, |
| 98 WebKit::WebTextDirection start_direction, |
| 99 const gfx::Rect& end_rect, |
| 100 WebKit::WebTextDirection end_direction) OVERRIDE; |
98 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 101 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
99 virtual void CopyFromCompositingSurface( | 102 virtual void CopyFromCompositingSurface( |
100 const gfx::Rect& src_subrect, | 103 const gfx::Rect& src_subrect, |
101 const gfx::Size& dst_size, | 104 const gfx::Size& dst_size, |
102 const base::Callback<void(bool)>& callback, | 105 const base::Callback<void(bool)>& callback, |
103 skia::PlatformCanvas* output) OVERRIDE; | 106 skia::PlatformCanvas* output) OVERRIDE; |
104 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 107 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
105 virtual void AcceleratedSurfaceBuffersSwapped( | 108 virtual void AcceleratedSurfaceBuffersSwapped( |
106 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 109 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
107 int gpu_host_id) OVERRIDE; | 110 int gpu_host_id) OVERRIDE; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 // Instance of accessibility information for the root of the AtkObject | 315 // Instance of accessibility information for the root of the AtkObject |
313 // tree representation of the WebKit render tree. | 316 // tree representation of the WebKit render tree. |
314 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 317 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
315 | 318 |
316 ui::GtkSignalRegistrar signals_; | 319 ui::GtkSignalRegistrar signals_; |
317 }; | 320 }; |
318 | 321 |
319 } // namespace content | 322 } // namespace content |
320 | 323 |
321 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 324 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |