OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 int error_code); | 154 int error_code); |
155 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow | 155 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow |
156 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); | 156 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); |
157 virtual void Destroy(); | 157 virtual void Destroy(); |
158 virtual void SetTooltipText(const std::wstring& tooltip_text); | 158 virtual void SetTooltipText(const std::wstring& tooltip_text); |
159 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 159 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
160 virtual void SetBackground(const SkBitmap& background); | 160 virtual void SetBackground(const SkBitmap& background); |
161 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 161 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
162 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); | 162 virtual void SetVisuallyDeemphasized(const SkColor* color, bool animate); |
163 | 163 |
164 virtual gfx::PluginWindowHandle AcquireCompositingSurface(); | 164 virtual gfx::PluginWindowHandle GetCompositingSurface(); |
165 virtual void ReleaseCompositingSurface(gfx::PluginWindowHandle surface); | |
166 virtual void ShowCompositorHostWindow(bool show); | 165 virtual void ShowCompositorHostWindow(bool show); |
167 | 166 |
168 virtual void OnAccessibilityNotifications( | 167 virtual void OnAccessibilityNotifications( |
169 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 168 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
170 | 169 |
171 // Implementation of NotificationObserver: | 170 // Implementation of NotificationObserver: |
172 virtual void Observe(NotificationType type, | 171 virtual void Observe(NotificationType type, |
173 const NotificationSource& source, | 172 const NotificationSource& source, |
174 const NotificationDetails& details); | 173 const NotificationDetails& details); |
175 | 174 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 WebKit::WebTextInputType text_input_type_; | 360 WebKit::WebTextInputType text_input_type_; |
362 | 361 |
363 ScopedVector<ui::ViewProp> props_; | 362 ScopedVector<ui::ViewProp> props_; |
364 | 363 |
365 scoped_ptr<ui::ViewProp> accessibility_prop_; | 364 scoped_ptr<ui::ViewProp> accessibility_prop_; |
366 | 365 |
367 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 366 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
368 }; | 367 }; |
369 | 368 |
370 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 369 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |