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_WIN_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 virtual bool IsShowing(); | 137 virtual bool IsShowing(); |
138 virtual gfx::Rect GetViewBounds() const; | 138 virtual gfx::Rect GetViewBounds() const; |
139 virtual void UpdateCursor(const WebCursor& cursor); | 139 virtual void UpdateCursor(const WebCursor& cursor); |
140 virtual void SetIsLoading(bool is_loading); | 140 virtual void SetIsLoading(bool is_loading); |
141 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 141 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, |
142 const gfx::Rect& caret_rect); | 142 const gfx::Rect& caret_rect); |
143 virtual void ImeCancelComposition(); | 143 virtual void ImeCancelComposition(); |
144 virtual void DidUpdateBackingStore( | 144 virtual void DidUpdateBackingStore( |
145 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 145 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
146 const std::vector<gfx::Rect>& copy_rects); | 146 const std::vector<gfx::Rect>& copy_rects); |
147 virtual void RenderViewGone(); | 147 virtual void RenderViewGone(base::TerminationStatus status, |
| 148 int error_code); |
148 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); | 149 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); |
149 virtual void Destroy(); | 150 virtual void Destroy(); |
150 virtual void SetTooltipText(const std::wstring& tooltip_text); | 151 virtual void SetTooltipText(const std::wstring& tooltip_text); |
151 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 152 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
152 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); | 153 virtual VideoLayer* AllocVideoLayer(const gfx::Size& size); |
153 virtual void SetBackground(const SkBitmap& background); | 154 virtual void SetBackground(const SkBitmap& background); |
154 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 155 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
155 virtual void SetVisuallyDeemphasized(bool deemphasized); | 156 virtual void SetVisuallyDeemphasized(bool deemphasized); |
156 virtual void UpdateAccessibilityTree( | 157 virtual void UpdateAccessibilityTree( |
157 const webkit_glue::WebAccessibility& tree); | 158 const webkit_glue::WebAccessibility& tree); |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
341 NotificationRegistrar registrar_; | 342 NotificationRegistrar registrar_; |
342 | 343 |
343 // Stores the current text input type received by ImeUpdateTextInputState() | 344 // Stores the current text input type received by ImeUpdateTextInputState() |
344 // method. | 345 // method. |
345 WebKit::WebTextInputType text_input_type_; | 346 WebKit::WebTextInputType text_input_type_; |
346 | 347 |
347 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 348 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
348 }; | 349 }; |
349 | 350 |
350 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 351 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |