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 virtual void ImeCancelComposition() OVERRIDE; | 86 virtual void ImeCancelComposition() OVERRIDE; |
87 virtual void DidUpdateBackingStore( | 87 virtual void DidUpdateBackingStore( |
88 const gfx::Rect& scroll_rect, | 88 const gfx::Rect& scroll_rect, |
89 const gfx::Vector2d& scroll_delta, | 89 const gfx::Vector2d& scroll_delta, |
90 const std::vector<gfx::Rect>& copy_rects, | 90 const std::vector<gfx::Rect>& copy_rects, |
91 const ui::LatencyInfo& latency_info) OVERRIDE; | 91 const ui::LatencyInfo& latency_info) OVERRIDE; |
92 virtual void RenderProcessGone(base::TerminationStatus status, | 92 virtual void RenderProcessGone(base::TerminationStatus status, |
93 int error_code) OVERRIDE; | 93 int error_code) OVERRIDE; |
94 virtual void Destroy() OVERRIDE; | 94 virtual void Destroy() OVERRIDE; |
95 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 95 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
96 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 96 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
97 virtual void SelectionChanged(const 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) OVERRIDE; | 107 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 331 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
332 | 332 |
333 ui::GtkSignalRegistrar signals_; | 333 ui::GtkSignalRegistrar signals_; |
334 | 334 |
335 ui::LatencyInfo software_latency_info_; | 335 ui::LatencyInfo software_latency_info_; |
336 }; | 336 }; |
337 | 337 |
338 } // namespace content | 338 } // namespace content |
339 | 339 |
340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 340 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |