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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual void SelectionChanged(const base::string16& text, | 97 virtual void SelectionChanged(const base::string16& text, |
98 size_t offset, | 98 size_t offset, |
99 const gfx::Range& range) OVERRIDE; | 99 const gfx::Range& range) OVERRIDE; |
100 virtual void SelectionBoundsChanged( | 100 virtual void SelectionBoundsChanged( |
101 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 101 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
102 virtual void ScrollOffsetChanged() OVERRIDE; | 102 virtual void ScrollOffsetChanged() OVERRIDE; |
103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 103 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
104 virtual void CopyFromCompositingSurface( | 104 virtual void CopyFromCompositingSurface( |
105 const gfx::Rect& src_subrect, | 105 const gfx::Rect& src_subrect, |
106 const gfx::Size& dst_size, | 106 const gfx::Size& dst_size, |
107 const base::Callback<void(bool, const SkBitmap&)>& callback, | 107 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
108 bool readback_config_rgb565) OVERRIDE; | |
109 virtual void CopyFromCompositingSurfaceToVideoFrame( | 108 virtual void CopyFromCompositingSurfaceToVideoFrame( |
110 const gfx::Rect& src_subrect, | 109 const gfx::Rect& src_subrect, |
111 const scoped_refptr<media::VideoFrame>& target, | 110 const scoped_refptr<media::VideoFrame>& target, |
112 const base::Callback<void(bool)>& callback) OVERRIDE; | 111 const base::Callback<void(bool)>& callback) OVERRIDE; |
113 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 112 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
114 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 113 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
115 virtual void AcceleratedSurfaceInitialized(int host_id, | 114 virtual void AcceleratedSurfaceInitialized(int host_id, |
116 int route_id) OVERRIDE; | 115 int route_id) OVERRIDE; |
117 virtual void AcceleratedSurfaceBuffersSwapped( | 116 virtual void AcceleratedSurfaceBuffersSwapped( |
118 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 117 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 329 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
331 | 330 |
332 ui::GtkSignalRegistrar signals_; | 331 ui::GtkSignalRegistrar signals_; |
333 | 332 |
334 std::vector<ui::LatencyInfo> software_latency_info_; | 333 std::vector<ui::LatencyInfo> software_latency_info_; |
335 }; | 334 }; |
336 | 335 |
337 } // namespace content | 336 } // namespace content |
338 | 337 |
339 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 338 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |