OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual gfx::NativeView GetNativeView() OVERRIDE; | 52 virtual gfx::NativeView GetNativeView() OVERRIDE; |
53 virtual void MovePluginWindows( | 53 virtual void MovePluginWindows( |
54 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 54 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
55 virtual bool HasFocus() OVERRIDE; | 55 virtual bool HasFocus() OVERRIDE; |
56 virtual void Show() OVERRIDE; | 56 virtual void Show() OVERRIDE; |
57 virtual void Hide() OVERRIDE; | 57 virtual void Hide() OVERRIDE; |
58 virtual bool IsShowing() OVERRIDE; | 58 virtual bool IsShowing() OVERRIDE; |
59 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 59 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
60 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; | 60 virtual void UpdateCursor(const WebCursor& cursor) OVERRIDE; |
61 virtual void SetIsLoading(bool is_loading) OVERRIDE; | 61 virtual void SetIsLoading(bool is_loading) OVERRIDE; |
62 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 62 virtual void ImeUpdateTextInputState(ui::TextInputType type, |
| 63 bool can_compose_inline, |
63 const gfx::Rect& caret_rect) OVERRIDE; | 64 const gfx::Rect& caret_rect) OVERRIDE; |
64 virtual void ImeCancelComposition() OVERRIDE; | 65 virtual void ImeCancelComposition() OVERRIDE; |
65 virtual void DidUpdateBackingStore( | 66 virtual void DidUpdateBackingStore( |
66 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 67 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
67 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 68 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
68 virtual void RenderViewGone(base::TerminationStatus status, | 69 virtual void RenderViewGone(base::TerminationStatus status, |
69 int error_code) OVERRIDE; | 70 int error_code) OVERRIDE; |
70 virtual void Destroy() OVERRIDE; | 71 virtual void Destroy() OVERRIDE; |
71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE {} | 72 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE {} |
72 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; | 73 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 // The current caret bounds. | 209 // The current caret bounds. |
209 gfx::Rect caret_bounds_; | 210 gfx::Rect caret_bounds_; |
210 | 211 |
211 // Indicates if there is onging composition text. | 212 // Indicates if there is onging composition text. |
212 bool has_composition_text_; | 213 bool has_composition_text_; |
213 | 214 |
214 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 215 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
215 }; | 216 }; |
216 | 217 |
217 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 218 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
OLD | NEW |