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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 int error_code); | 152 int error_code); |
153 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow | 153 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow |
154 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); | 154 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); |
155 virtual void Destroy(); | 155 virtual void Destroy(); |
156 virtual void SetTooltipText(const std::wstring& tooltip_text); | 156 virtual void SetTooltipText(const std::wstring& tooltip_text); |
157 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 157 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
158 virtual void SetBackground(const SkBitmap& background); | 158 virtual void SetBackground(const SkBitmap& background); |
159 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 159 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
160 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 160 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
161 | 161 |
162 virtual gfx::PluginWindowHandle GetCompositorHostWindow(); | 162 virtual gfx::PluginWindowHandle AcquireCompositingSurface(); |
| 163 virtual void ReleaseCompositingSurface(gfx::PluginWindowHandle surface); |
163 virtual void ShowCompositorHostWindow(bool show); | 164 virtual void ShowCompositorHostWindow(bool show); |
164 | 165 |
165 virtual void OnAccessibilityNotifications( | 166 virtual void OnAccessibilityNotifications( |
166 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 167 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
167 | 168 |
168 // Implementation of NotificationObserver: | 169 // Implementation of NotificationObserver: |
169 virtual void Observe(NotificationType type, | 170 virtual void Observe(NotificationType type, |
170 const NotificationSource& source, | 171 const NotificationSource& source, |
171 const NotificationDetails& details); | 172 const NotificationDetails& details); |
172 | 173 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 WebKit::WebTextInputType text_input_type_; | 352 WebKit::WebTextInputType text_input_type_; |
352 | 353 |
353 ScopedVector<ui::ViewProp> props_; | 354 ScopedVector<ui::ViewProp> props_; |
354 | 355 |
355 scoped_ptr<ui::ViewProp> accessibility_prop_; | 356 scoped_ptr<ui::ViewProp> accessibility_prop_; |
356 | 357 |
357 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 358 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
358 }; | 359 }; |
359 | 360 |
360 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 361 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |