| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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); | 63 const gfx::Rect& caret_rect); |
| 64 virtual void ImeCancelComposition(); | 64 virtual void ImeCancelComposition(); |
| 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); | 67 const std::vector<gfx::Rect>& copy_rects); |
| 68 virtual void RenderViewGone(base::TerminationStatus status, | 68 virtual void RenderViewGone(base::TerminationStatus status, |
| 69 int error_code); | 69 int error_code); |
| 70 virtual void Destroy(); | 70 virtual void Destroy(); |
| 71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 71 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
| 72 virtual void SetTooltipText(const std::wstring& tooltip_text); | 72 virtual void SetTooltipText(const std::wstring& tooltip_text); |
| 73 virtual void SelectionChanged(const std::string& text); | 73 virtual void SelectionChanged(const std::string& text, int start, int end); |
| 74 virtual void ShowingContextMenu(bool showing); | 74 virtual void ShowingContextMenu(bool showing); |
| 75 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 75 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
| 76 virtual void SetBackground(const SkBitmap& background); | 76 virtual void SetBackground(const SkBitmap& background); |
| 77 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); | 77 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); |
| 78 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); | 78 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); |
| 79 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 79 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
| 80 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 80 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
| 81 virtual void AcceleratedCompositingActivated(bool activated); | 81 virtual void AcceleratedCompositingActivated(bool activated); |
| 82 | 82 |
| 83 // On some systems, there can be two native views, where an outer native view | 83 // On some systems, there can be two native views, where an outer native view |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 WebKit::WebTouchEvent touch_event_; | 181 WebKit::WebTouchEvent touch_event_; |
| 182 | 182 |
| 183 // Input method context used to translating sequence of key events into other | 183 // Input method context used to translating sequence of key events into other |
| 184 // languages. | 184 // languages. |
| 185 scoped_ptr<IMEContextHandler> ime_context_; | 185 scoped_ptr<IMEContextHandler> ime_context_; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 187 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 190 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| OLD | NEW |