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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 bool can_compose_inline) OVERRIDE; | 88 bool can_compose_inline) OVERRIDE; |
89 virtual void ImeCancelComposition() OVERRIDE; | 89 virtual void ImeCancelComposition() OVERRIDE; |
90 virtual void ImeCompositionRangeChanged( | 90 virtual void ImeCompositionRangeChanged( |
91 const ui::Range& range, | 91 const ui::Range& range, |
92 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 92 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
93 virtual void DidUpdateBackingStore( | 93 virtual void DidUpdateBackingStore( |
94 const gfx::Rect& scroll_rect, | 94 const gfx::Rect& scroll_rect, |
95 const gfx::Vector2d& scroll_delta, | 95 const gfx::Vector2d& scroll_delta, |
96 const std::vector<gfx::Rect>& copy_rects, | 96 const std::vector<gfx::Rect>& copy_rects, |
97 const ui::LatencyInfo& latency_info) OVERRIDE; | 97 const ui::LatencyInfo& latency_info) OVERRIDE; |
98 virtual void RenderViewGone(base::TerminationStatus status, | 98 virtual void RenderProcessGone(base::TerminationStatus status, |
99 int error_code) OVERRIDE; | 99 int error_code) OVERRIDE; |
100 virtual void Destroy() OVERRIDE; | 100 virtual void Destroy() OVERRIDE; |
101 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 101 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
102 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 102 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
103 virtual void SelectionBoundsChanged( | 103 virtual void SelectionBoundsChanged( |
104 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 104 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
105 virtual void ScrollOffsetChanged() OVERRIDE; | 105 virtual void ScrollOffsetChanged() OVERRIDE; |
106 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 106 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
107 virtual void CopyFromCompositingSurface( | 107 virtual void CopyFromCompositingSurface( |
108 const gfx::Rect& src_subrect, | 108 const gfx::Rect& src_subrect, |
109 const gfx::Size& dst_size, | 109 const gfx::Size& dst_size, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 RenderWidgetHostViewPort* platform_view_; | 211 RenderWidgetHostViewPort* platform_view_; |
212 #if defined(OS_WIN) || defined(USE_AURA) | 212 #if defined(OS_WIN) || defined(USE_AURA) |
213 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 213 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
214 #endif // defined(OS_WIN) || defined(USE_AURA) | 214 #endif // defined(OS_WIN) || defined(USE_AURA) |
215 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 215 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
216 }; | 216 }; |
217 | 217 |
218 } // namespace content | 218 } // namespace content |
219 | 219 |
220 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 220 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |