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_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 #endif | 91 #endif |
92 virtual void DidUpdateBackingStore( | 92 virtual void DidUpdateBackingStore( |
93 const gfx::Rect& scroll_rect, | 93 const gfx::Rect& scroll_rect, |
94 const gfx::Vector2d& scroll_delta, | 94 const gfx::Vector2d& scroll_delta, |
95 const std::vector<gfx::Rect>& copy_rects, | 95 const std::vector<gfx::Rect>& copy_rects, |
96 const ui::LatencyInfo& latency_info) OVERRIDE; | 96 const ui::LatencyInfo& latency_info) OVERRIDE; |
97 virtual void RenderProcessGone(base::TerminationStatus status, | 97 virtual void RenderProcessGone(base::TerminationStatus status, |
98 int error_code) OVERRIDE; | 98 int error_code) OVERRIDE; |
99 virtual void Destroy() OVERRIDE; | 99 virtual void Destroy() OVERRIDE; |
100 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 100 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
101 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 101 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
102 virtual void SelectionChanged(const string16& text, | 102 virtual void SelectionChanged(const base::string16& text, |
103 size_t offset, | 103 size_t offset, |
104 const gfx::Range& range) OVERRIDE; | 104 const gfx::Range& range) OVERRIDE; |
105 virtual void SelectionBoundsChanged( | 105 virtual void SelectionBoundsChanged( |
106 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 106 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
107 virtual void ScrollOffsetChanged() OVERRIDE; | 107 virtual void ScrollOffsetChanged() OVERRIDE; |
108 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 108 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
109 virtual void CopyFromCompositingSurface( | 109 virtual void CopyFromCompositingSurface( |
110 const gfx::Rect& src_subrect, | 110 const gfx::Rect& src_subrect, |
111 const gfx::Size& dst_size, | 111 const gfx::Size& dst_size, |
112 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 112 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 RenderWidgetHostViewPort* platform_view_; | 217 RenderWidgetHostViewPort* platform_view_; |
218 #if defined(OS_WIN) || defined(USE_AURA) | 218 #if defined(OS_WIN) || defined(USE_AURA) |
219 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 219 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
220 #endif // defined(OS_WIN) || defined(USE_AURA) | 220 #endif // defined(OS_WIN) || defined(USE_AURA) |
221 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 221 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
222 }; | 222 }; |
223 | 223 |
224 } // namespace content | 224 } // namespace content |
225 | 225 |
226 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 226 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |