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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 virtual void RenderViewGone(); | 156 virtual void RenderViewGone(); |
157 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow | 157 virtual void WillWmDestroy(); // called by TabContents before DestroyWindow |
158 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); | 158 virtual void WillDestroyRenderWidget(RenderWidgetHost* rwh); |
159 virtual void Destroy(); | 159 virtual void Destroy(); |
160 virtual void SetTooltipText(const std::wstring& tooltip_text); | 160 virtual void SetTooltipText(const std::wstring& tooltip_text); |
161 virtual BackingStore* AllocBackingStore(const gfx::Size& size); | 161 virtual BackingStore* AllocBackingStore(const gfx::Size& size); |
162 virtual void SetBackground(const SkBitmap& background); | 162 virtual void SetBackground(const SkBitmap& background); |
163 virtual bool ContainsNativeView(gfx::NativeView native_view) const; | 163 virtual bool ContainsNativeView(gfx::NativeView native_view) const; |
164 virtual void SetVisuallyDeemphasized(bool deemphasized); | 164 virtual void SetVisuallyDeemphasized(bool deemphasized); |
165 | 165 |
166 virtual gfx::PluginWindowHandle CreateCompositorHostWindow(); | 166 virtual gfx::PluginWindowHandle GetCompositorHostWindow(); |
167 virtual void ShowCompositorHostWindow(bool show); | 167 virtual void ShowCompositorHostWindow(bool show); |
168 | 168 |
169 virtual void OnAccessibilityNotifications( | 169 virtual void OnAccessibilityNotifications( |
170 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 170 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
171 | 171 |
172 // Implementation of NotificationObserver: | 172 // Implementation of NotificationObserver: |
173 virtual void Observe(NotificationType type, | 173 virtual void Observe(NotificationType type, |
174 const NotificationSource& source, | 174 const NotificationSource& source, |
175 const NotificationDetails& details); | 175 const NotificationDetails& details); |
176 | 176 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 // method. | 354 // method. |
355 WebKit::WebTextInputType text_input_type_; | 355 WebKit::WebTextInputType text_input_type_; |
356 | 356 |
357 ScopedVector<app::ViewProp> props_; | 357 ScopedVector<app::ViewProp> props_; |
358 scoped_ptr<app::win::ScopedProp> renderer_id_prop_; | 358 scoped_ptr<app::win::ScopedProp> renderer_id_prop_; |
359 | 359 |
360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 360 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
361 }; | 361 }; |
362 | 362 |
363 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 363 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |