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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 virtual bool IsShowing(); | 53 virtual bool IsShowing(); |
54 virtual gfx::Rect GetViewBounds() const; | 54 virtual gfx::Rect GetViewBounds() const; |
55 virtual void UpdateCursor(const WebCursor& cursor); | 55 virtual void UpdateCursor(const WebCursor& cursor); |
56 virtual void SetIsLoading(bool is_loading); | 56 virtual void SetIsLoading(bool is_loading); |
57 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 57 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, |
58 const gfx::Rect& caret_rect); | 58 const gfx::Rect& caret_rect); |
59 virtual void ImeCancelComposition(); | 59 virtual void ImeCancelComposition(); |
60 virtual void DidUpdateBackingStore( | 60 virtual void DidUpdateBackingStore( |
61 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 61 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
62 const std::vector<gfx::Rect>& copy_rects); | 62 const std::vector<gfx::Rect>& copy_rects); |
63 virtual void RenderViewGone(); | 63 virtual void RenderViewGone(base::TerminationStatus status, |
| 64 int error_code); |
64 virtual void Destroy(); | 65 virtual void Destroy(); |
65 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} | 66 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh) {} |
66 virtual void SetTooltipText(const std::wstring& tooltip_text); | 67 virtual void SetTooltipText(const std::wstring& tooltip_text); |
67 virtual void SelectionChanged(const std::string& text); | 68 virtual void SelectionChanged(const std::string& text); |
68 virtual void ShowingContextMenu(bool showing); | 69 virtual void ShowingContextMenu(bool showing); |
69 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 70 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
70 virtual void SetBackground(const SkBitmap& background); | 71 virtual void SetBackground(const SkBitmap& background); |
71 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); | 72 virtual void CreatePluginContainer(gfx::PluginWindowHandle id); |
72 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); | 73 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id); |
73 virtual void SetVisuallyDeemphasized(bool deemphasized); | 74 virtual void SetVisuallyDeemphasized(bool deemphasized); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 166 |
166 // The touch-event. Its touch-points are updated as necessary. A new | 167 // The touch-event. Its touch-points are updated as necessary. A new |
167 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is | 168 // touch-point is added from an ET_TOUCH_PRESSED event, and a touch-point is |
168 // removed from the list on an ET_TOUCH_RELEASED event. | 169 // removed from the list on an ET_TOUCH_RELEASED event. |
169 WebKit::WebTouchEvent touch_event_; | 170 WebKit::WebTouchEvent touch_event_; |
170 | 171 |
171 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
172 }; | 173 }; |
173 | 174 |
174 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 175 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
OLD | NEW |