OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 71 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
72 virtual void TextInputTypeChanged(ui::TextInputType type, | 72 virtual void TextInputTypeChanged(ui::TextInputType type, |
73 ui::TextInputMode input_mode, | 73 ui::TextInputMode input_mode, |
74 bool can_compose_inline) OVERRIDE; | 74 bool can_compose_inline) OVERRIDE; |
75 virtual void ImeCancelComposition() OVERRIDE; | 75 virtual void ImeCancelComposition() OVERRIDE; |
76 #if defined(OS_MACOSX) || defined(USE_AURA) | 76 #if defined(OS_MACOSX) || defined(USE_AURA) |
77 virtual void ImeCompositionRangeChanged( | 77 virtual void ImeCompositionRangeChanged( |
78 const gfx::Range& range, | 78 const gfx::Range& range, |
79 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 79 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
80 #endif | 80 #endif |
81 virtual void DidUpdateBackingStore( | |
82 const gfx::Rect& scroll_rect, | |
83 const gfx::Vector2d& scroll_delta, | |
84 const std::vector<gfx::Rect>& copy_rects, | |
85 const std::vector<ui::LatencyInfo>& latency_info) OVERRIDE; | |
86 virtual void RenderProcessGone(base::TerminationStatus status, | 81 virtual void RenderProcessGone(base::TerminationStatus status, |
87 int error_code) OVERRIDE; | 82 int error_code) OVERRIDE; |
88 virtual void Destroy() OVERRIDE; | 83 virtual void Destroy() OVERRIDE; |
89 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; | 84 virtual void SetTooltipText(const base::string16& tooltip_text) OVERRIDE; |
90 virtual void SelectionChanged(const base::string16& text, | 85 virtual void SelectionChanged(const base::string16& text, |
91 size_t offset, | 86 size_t offset, |
92 const gfx::Range& range) OVERRIDE; | 87 const gfx::Range& range) OVERRIDE; |
93 virtual void SelectionBoundsChanged( | 88 virtual void SelectionBoundsChanged( |
94 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 89 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
95 #if defined(OS_ANDROID) | 90 #if defined(OS_ANDROID) |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 RenderWidgetHostViewPort* platform_view_; | 176 RenderWidgetHostViewPort* platform_view_; |
182 #if defined(USE_AURA) | 177 #if defined(USE_AURA) |
183 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 178 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
184 #endif | 179 #endif |
185 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 180 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
186 }; | 181 }; |
187 | 182 |
188 } // namespace content | 183 } // namespace content |
189 | 184 |
190 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 185 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |