Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_win.h

Issue 25795002: Move surface resize platform code from GpuProcessHostUIShim to RenderWidgetHostView implementations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated patch for reland after revert because chromium.webkit trybot fails on CWindow:SetWindowPos … Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(WebKit::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 AcceleratedSurfaceBuffersSwapped( 228 virtual void AcceleratedSurfaceBuffersSwapped(
228 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params, 229 const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& params,
229 int gpu_host_id) OVERRIDE; 230 int gpu_host_id) OVERRIDE;
230 virtual void AcceleratedSurfacePostSubBuffer( 231 virtual void AcceleratedSurfacePostSubBuffer(
231 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, 232 const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params,
232 int gpu_host_id) OVERRIDE; 233 int gpu_host_id) OVERRIDE;
233 virtual void AcceleratedSurfaceSuspend() OVERRIDE; 234 virtual void AcceleratedSurfaceSuspend() OVERRIDE;
234 virtual void AcceleratedSurfaceRelease() OVERRIDE; 235 virtual void AcceleratedSurfaceRelease() OVERRIDE;
235 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; 236 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE;
236 virtual void OnAccessibilityEvents( 237 virtual void OnAccessibilityEvents(
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 base::win::ScopedComPtr<IAccessible> window_iaccessible_; 606 base::win::ScopedComPtr<IAccessible> window_iaccessible_;
606 607
607 ui::LatencyInfo software_latency_info_; 608 ui::LatencyInfo software_latency_info_;
608 609
609 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin); 610 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewWin);
610 }; 611 };
611 612
612 } // namespace content 613 } // namespace content
613 614
614 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_ 615 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698