OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 6 #define CONTENT_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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; | 162 virtual gfx::NativeViewId GetNativeViewId() const OVERRIDE; |
163 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; | 163 virtual gfx::NativeViewAccessible GetNativeViewAccessible() OVERRIDE; |
164 virtual bool HasFocus() const OVERRIDE; | 164 virtual bool HasFocus() const OVERRIDE; |
165 virtual void Show() OVERRIDE; | 165 virtual void Show() OVERRIDE; |
166 virtual void Hide() OVERRIDE; | 166 virtual void Hide() OVERRIDE; |
167 virtual bool IsShowing() OVERRIDE; | 167 virtual bool IsShowing() OVERRIDE; |
168 virtual gfx::Rect GetViewBounds() const OVERRIDE; | 168 virtual gfx::Rect GetViewBounds() const OVERRIDE; |
169 virtual void UnhandledWheelEvent( | 169 virtual void UnhandledWheelEvent( |
170 const WebKit::WebMouseWheelEvent& event) OVERRIDE; | 170 const WebKit::WebMouseWheelEvent& event) OVERRIDE; |
171 virtual void SetBackground(const SkBitmap& background) OVERRIDE; | 171 virtual void SetBackground(const SkBitmap& background) OVERRIDE; |
| 172 virtual bool CopyFromCompositingSurface( |
| 173 const gfx::Size& size, |
| 174 skia::PlatformCanvas* output) OVERRIDE; |
172 | 175 |
173 // Implementation of RenderWidgetHostViewPort. | 176 // Implementation of RenderWidgetHostViewPort. |
174 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, | 177 virtual void InitAsPopup(content::RenderWidgetHostView* parent_host_view, |
175 const gfx::Rect& pos) OVERRIDE; | 178 const gfx::Rect& pos) OVERRIDE; |
176 virtual void InitAsFullscreen( | 179 virtual void InitAsFullscreen( |
177 content::RenderWidgetHostView* reference_host_view) OVERRIDE; | 180 content::RenderWidgetHostView* reference_host_view) OVERRIDE; |
178 virtual void DidBecomeSelected() OVERRIDE; | 181 virtual void DidBecomeSelected() OVERRIDE; |
179 virtual void WasHidden() OVERRIDE; | 182 virtual void WasHidden() OVERRIDE; |
180 virtual void MovePluginWindows( | 183 virtual void MovePluginWindows( |
181 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; | 184 const std::vector<webkit::npapi::WebPluginGeometry>& moves) OVERRIDE; |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 // Region in which the view will be transparent to clicks. | 563 // Region in which the view will be transparent to clicks. |
561 scoped_ptr<SkRegion> transparent_region_; | 564 scoped_ptr<SkRegion> transparent_region_; |
562 | 565 |
563 // Are touch events currently enabled? | 566 // Are touch events currently enabled? |
564 bool touch_events_enabled_; | 567 bool touch_events_enabled_; |
565 | 568 |
566 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 569 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
567 }; | 570 }; |
568 | 571 |
569 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 572 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |