| 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 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlapp.h> | 9 #include <atlapp.h> |
| 10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 int error_code) OVERRIDE; | 196 int error_code) OVERRIDE; |
| 197 // called by WebContentsImpl before DestroyWindow | 197 // called by WebContentsImpl before DestroyWindow |
| 198 virtual void WillWmDestroy() OVERRIDE; | 198 virtual void WillWmDestroy() OVERRIDE; |
| 199 virtual void Destroy() OVERRIDE; | 199 virtual void Destroy() OVERRIDE; |
| 200 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; | 200 virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE; |
| 201 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; | 201 virtual BackingStore* AllocBackingStore(const gfx::Size& size) OVERRIDE; |
| 202 virtual void CopyFromCompositingSurface( | 202 virtual void CopyFromCompositingSurface( |
| 203 const gfx::Rect& src_subrect, | 203 const gfx::Rect& src_subrect, |
| 204 const gfx::Size& dst_size, | 204 const gfx::Size& dst_size, |
| 205 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; | 205 const base::Callback<void(bool, const SkBitmap&)>& callback) OVERRIDE; |
| 206 virtual void CopyFromCompositingSurfaceToVideoFrame( |
| 207 const gfx::Rect& src_subrect, |
| 208 const scoped_refptr<media::VideoFrame>& target, |
| 209 const base::Callback<void(bool)>& callback) OVERRIDE; |
| 210 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
| 206 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 211 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
| 207 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, | 212 virtual void ProcessAckedTouchEvent(const WebKit::WebTouchEvent& touch, |
| 208 InputEventAckState ack_result) OVERRIDE; | 213 InputEventAckState ack_result) OVERRIDE; |
| 209 virtual void SetHasHorizontalScrollbar( | 214 virtual void SetHasHorizontalScrollbar( |
| 210 bool has_horizontal_scrollbar) OVERRIDE; | 215 bool has_horizontal_scrollbar) OVERRIDE; |
| 211 virtual void SetScrollOffsetPinning( | 216 virtual void SetScrollOffsetPinning( |
| 212 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 217 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
| 213 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 218 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
| 214 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 219 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 215 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 220 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 bool touch_events_enabled_; | 581 bool touch_events_enabled_; |
| 577 | 582 |
| 578 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 583 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 579 | 584 |
| 580 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 585 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
| 581 }; | 586 }; |
| 582 | 587 |
| 583 } // namespace content | 588 } // namespace content |
| 584 | 589 |
| 585 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 590 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
| OLD | NEW |