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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 virtual bool IsShowing(); | 141 virtual bool IsShowing(); |
142 virtual gfx::Rect GetViewBounds() const; | 142 virtual gfx::Rect GetViewBounds() const; |
143 virtual void UpdateCursor(const WebCursor& cursor); | 143 virtual void UpdateCursor(const WebCursor& cursor); |
144 virtual void SetIsLoading(bool is_loading); | 144 virtual void SetIsLoading(bool is_loading); |
145 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, | 145 virtual void ImeUpdateTextInputState(WebKit::WebTextInputType type, |
146 const gfx::Rect& caret_rect); | 146 const gfx::Rect& caret_rect); |
147 virtual void ImeCancelComposition(); | 147 virtual void ImeCancelComposition(); |
148 virtual void DidUpdateBackingStore( | 148 virtual void DidUpdateBackingStore( |
149 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, | 149 const gfx::Rect& scroll_rect, int scroll_dx, int scroll_dy, |
150 const std::vector<gfx::Rect>& copy_rects); | 150 const std::vector<gfx::Rect>& copy_rects); |
151 virtual void RenderViewGone(); | 151 virtual void RenderViewGone(base::TerminationStatus status, |
| 152 int error_code); |
152 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow | 153 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow |
153 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); | 154 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); |
154 virtual void Destroy(); | 155 virtual void Destroy(); |
155 virtual void SetTooltipText(const std::wstring& tooltip_text); | 156 virtual void SetTooltipText(const std::wstring& tooltip_text); |
156 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 157 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
157 virtual void SetBackground(const SkBitmap& background); | 158 virtual void SetBackground(const SkBitmap& background); |
158 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 159 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
159 virtual void SetVisuallyDeemphasized(bool deemphasized); | 160 virtual void SetVisuallyDeemphasized(bool deemphasized); |
160 | 161 |
161 virtual gfx::PluginWindowHandle GetCompositorHostWindow(); | 162 virtual gfx::PluginWindowHandle GetCompositorHostWindow(); |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 // Stores the current text input type received by ImeUpdateTextInputState() | 349 // Stores the current text input type received by ImeUpdateTextInputState() |
349 // method. | 350 // method. |
350 WebKit::WebTextInputType text_input_type_; | 351 WebKit::WebTextInputType text_input_type_; |
351 | 352 |
352 ScopedVector<app::ViewProp> props_; | 353 ScopedVector<app::ViewProp> props_; |
353 | 354 |
354 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 355 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
355 }; | 356 }; |
356 | 357 |
357 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 358 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |