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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 namespace IPC { | 43 namespace IPC { |
44 class Message; | 44 class Message; |
45 } | 45 } |
46 | 46 |
47 namespace ui { | 47 namespace ui { |
48 class IMM32Manager; | 48 class IMM32Manager; |
49 class ViewProp; | 49 class ViewProp; |
50 } | 50 } |
51 | 51 |
52 namespace WebKit { | 52 namespace blink { |
53 struct WebScreenInfo; | 53 struct WebScreenInfo; |
54 } | 54 } |
55 | 55 |
56 namespace content { | 56 namespace content { |
57 class BackingStore; | 57 class BackingStore; |
58 class RenderWidgetHost; | 58 class RenderWidgetHost; |
59 class WebTouchState; | 59 class WebTouchState; |
60 | 60 |
61 typedef CWinTraits<WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0> | 61 typedef CWinTraits<WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, 0> |
62 RenderWidgetHostHWNDTraits; | 62 RenderWidgetHostHWNDTraits; |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 const scoped_refptr<media::VideoFrame>& target, | 214 const scoped_refptr<media::VideoFrame>& target, |
215 const base::Callback<void(bool)>& callback) OVERRIDE; | 215 const base::Callback<void(bool)>& callback) OVERRIDE; |
216 virtual bool CanCopyToVideoFrame() const OVERRIDE; | 216 virtual bool CanCopyToVideoFrame() const OVERRIDE; |
217 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; | 217 virtual void OnAcceleratedCompositingStateChange() OVERRIDE; |
218 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 218 virtual void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
219 InputEventAckState ack_result) OVERRIDE; | 219 InputEventAckState ack_result) OVERRIDE; |
220 virtual void SetHasHorizontalScrollbar( | 220 virtual void SetHasHorizontalScrollbar( |
221 bool has_horizontal_scrollbar) OVERRIDE; | 221 bool has_horizontal_scrollbar) OVERRIDE; |
222 virtual void SetScrollOffsetPinning( | 222 virtual void SetScrollOffsetPinning( |
223 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 223 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
224 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 224 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
225 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 225 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
226 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 226 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
227 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE; | 227 virtual void ResizeCompositingSurface(const gfx::Size&) OVERRIDE; |
228 virtual void AcceleratedSurfaceBuffersSwapped( | 228 virtual void AcceleratedSurfaceBuffersSwapped( |
229 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, | 229 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, |
230 int gpu_host_id) OVERRIDE; | 230 int gpu_host_id) OVERRIDE; |
231 virtual void AcceleratedSurfacePostSubBuffer( | 231 virtual void AcceleratedSurfacePostSubBuffer( |
232 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, | 232 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, |
233 int gpu_host_id) OVERRIDE; | 233 int gpu_host_id) OVERRIDE; |
234 virtual void AcceleratedSurfaceSuspend() OVERRIDE; | 234 virtual void AcceleratedSurfaceSuspend() OVERRIDE; |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 base::win::ScopedComPtr<IAccessible> window_iaccessible_; | 604 base::win::ScopedComPtr<IAccessible> window_iaccessible_; |
605 | 605 |
606 ui::LatencyInfo software_latency_info_; | 606 ui::LatencyInfo software_latency_info_; |
607 | 607 |
608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); | 608 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); |
609 }; | 609 }; |
610 | 610 |
611 } // namespace content | 611 } // namespace content |
612 | 612 |
613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ | 613 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ |
OLD | NEW |