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

Side by Side Diff: content/browser/compositor/software_browser_compositor_output_surface.cc

Issue 1963263002: Fix Mac resize, delete more Mac code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/browser/compositor/software_browser_compositor_output_surface. h" 5 #include "content/browser/compositor/software_browser_compositor_output_surface. h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 const std::vector<ui::LatencyInfo>& latency_info, 62 const std::vector<ui::LatencyInfo>& latency_info,
63 gfx::SwapResult result, 63 gfx::SwapResult result,
64 const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) { 64 const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) {
65 NOTREACHED(); 65 NOTREACHED();
66 } 66 }
67 67
68 #if defined(OS_MACOSX) 68 #if defined(OS_MACOSX)
69 void SoftwareBrowserCompositorOutputSurface::SetSurfaceSuspendedForRecycle( 69 void SoftwareBrowserCompositorOutputSurface::SetSurfaceSuspendedForRecycle(
70 bool suspended) { 70 bool suspended) {
71 } 71 }
72
73 bool SoftwareBrowserCompositorOutputSurface::
74 SurfaceShouldNotShowFramesAfterSuspendForRecycle() const {
75 return false;
76 }
77 #endif 72 #endif
78 73
79 } // namespace content 74 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698