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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 | 10 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 bool can_compose_inline) OVERRIDE; | 98 bool can_compose_inline) OVERRIDE; |
99 virtual void ImeCancelComposition() OVERRIDE; | 99 virtual void ImeCancelComposition() OVERRIDE; |
100 virtual void ImeCompositionRangeChanged( | 100 virtual void ImeCompositionRangeChanged( |
101 const ui::Range& range, | 101 const ui::Range& range, |
102 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; | 102 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; |
103 virtual void DidUpdateBackingStore( | 103 virtual void DidUpdateBackingStore( |
104 const gfx::Rect& scroll_rect, | 104 const gfx::Rect& scroll_rect, |
105 const gfx::Vector2d& scroll_delta, | 105 const gfx::Vector2d& scroll_delta, |
106 const std::vector<gfx::Rect>& copy_rects, | 106 const std::vector<gfx::Rect>& copy_rects, |
107 const ui::LatencyInfo& latency_info) OVERRIDE; | 107 const ui::LatencyInfo& latency_info) OVERRIDE; |
108 virtual void RenderViewGone(base::TerminationStatus status, | 108 virtual void RenderProcessGone(base::TerminationStatus status, |
109 int error_code) OVERRIDE; | 109 int error_code) OVERRIDE; |
110 virtual void Destroy() OVERRIDE; | 110 virtual void Destroy() OVERRIDE; |
111 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 111 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
112 virtual void SelectionChanged(const string16& text, | 112 virtual void SelectionChanged(const string16& text, |
113 size_t offset, | 113 size_t offset, |
114 const ui::Range& range) OVERRIDE; | 114 const ui::Range& range) OVERRIDE; |
115 virtual void SelectionBoundsChanged( | 115 virtual void SelectionBoundsChanged( |
116 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; | 116 const ViewHostMsg_SelectionBounds_Params& params) OVERRIDE; |
117 virtual void ScrollOffsetChanged() OVERRIDE; | 117 virtual void ScrollOffsetChanged() OVERRIDE; |
118 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 118 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
119 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 119 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 // Used to render overscroll overlays. | 299 // Used to render overscroll overlays. |
300 bool overscroll_effect_enabled_; | 300 bool overscroll_effect_enabled_; |
301 scoped_ptr<OverscrollGlow> overscroll_effect_; | 301 scoped_ptr<OverscrollGlow> overscroll_effect_; |
302 | 302 |
303 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 303 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
304 }; | 304 }; |
305 | 305 |
306 } // namespace content | 306 } // namespace content |
307 | 307 |
308 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 308 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |