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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual void Focus() OVERRIDE; | 79 virtual void Focus() OVERRIDE; |
80 virtual void Blur() OVERRIDE; | 80 virtual void Blur() OVERRIDE; |
81 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 81 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
82 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 82 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
83 virtual void TextInputTypeChanged(ui::TextInputType type, | 83 virtual void TextInputTypeChanged(ui::TextInputType type, |
84 ui::TextInputMode input_mode, | 84 ui::TextInputMode input_mode, |
85 bool can_compose_inline) OVERRIDE; | 85 bool can_compose_inline) OVERRIDE; |
86 virtual void ImeCancelComposition() OVERRIDE; | 86 virtual void ImeCancelComposition() OVERRIDE; |
87 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 87 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
88 virtual void ImeCompositionRangeChanged( | 88 virtual void ImeCompositionRangeChanged( |
89 const ui::Range& range, | 89 const gfx::Range& range, |
90 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 90 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
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 string16& tooltip_text) OVERRIDE; |
102 virtual void SelectionChanged(const string16& text, | 102 virtual void SelectionChanged(const string16& text, |
103 size_t offset, | 103 size_t offset, |
104 const ui::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; |
113 virtual void CopyFromCompositingSurfaceToVideoFrame( | 113 virtual void CopyFromCompositingSurfaceToVideoFrame( |
114 const gfx::Rect& src_subrect, | 114 const gfx::Rect& src_subrect, |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 RenderWidgetHostViewPort* platform_view_; | 214 RenderWidgetHostViewPort* platform_view_; |
215 #if defined(OS_WIN) || defined(USE_AURA) | 215 #if defined(OS_WIN) || defined(USE_AURA) |
216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
217 #endif // defined(OS_WIN) || defined(USE_AURA) | 217 #endif // defined(OS_WIN) || defined(USE_AURA) |
218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
219 }; | 219 }; |
220 | 220 |
221 } // namespace content | 221 } // namespace content |
222 | 222 |
223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |