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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 const gfx::Rect& caret_rect) OVERRIDE; | 63 const gfx::Rect& caret_rect) OVERRIDE; |
64 virtual void ImeCancelComposition() OVERRIDE; | 64 virtual void ImeCancelComposition() OVERRIDE; |
65 virtual void DidUpdateBackingStore( | 65 virtual void DidUpdateBackingStore( |
66 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 66 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
67 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; | 67 const std::vector<gfx::Rect>& copy_rects) OVERRIDE; |
68 virtual void RenderViewGone(base::TerminationStatus status, | 68 virtual void RenderViewGone(base::TerminationStatus status, |
69 int error_code) OVERRIDE; | 69 int error_code) OVERRIDE; |
70 virtual void Destroy() OVERRIDE; | 70 virtual void Destroy() OVERRIDE; |
71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE {} | 71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) OVERRIDE {} |
72 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; | 72 virtual void SetTooltipText(const std::wstring& tooltip_text) OVERRIDE; |
73 virtual void SelectionChanged(const std::string& text) OVERRIDE; | 73 virtual void SelectionChanged(const std::string& text, |
| 74 const ui::Range& range) OVERRIDE; |
74 virtual void ShowingContextMenu(bool showing) OVERRIDE; | 75 virtual void ShowingContextMenu(bool showing) OVERRIDE; |
75 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 76 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
76 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 77 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
77 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 78 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
78 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 79 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
79 virtual void SetVisuallyDeemphasized(const SkColor* color, | 80 virtual void SetVisuallyDeemphasized(const SkColor* color, |
80 bool animate) OVERRIDE; | 81 bool animate) OVERRIDE; |
81 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE; | 82 virtual bool ContainsNativeView(gfx::NativeView native_view) const OVERRIDE; |
82 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; | 83 virtual void AcceleratedCompositingActivated(bool activated) OVERRIDE; |
83 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; | 84 virtual gfx::PluginWindowHandle GetCompositingSurface() OVERRIDE; |
(...skipping 124 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 |