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

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

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 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 22 matching lines...) Expand all
33 33
34 private: 34 private:
35 void SwapBuffers(cc::CompositorFrame* frame) override; 35 void SwapBuffers(cc::CompositorFrame* frame) override;
36 void OnGpuSwapBuffersCompleted( 36 void OnGpuSwapBuffersCompleted(
37 const std::vector<ui::LatencyInfo>& latency_info, 37 const std::vector<ui::LatencyInfo>& latency_info,
38 gfx::SwapResult result, 38 gfx::SwapResult result,
39 const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) override; 39 const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) override;
40 40
41 #if defined(OS_MACOSX) 41 #if defined(OS_MACOSX)
42 void SetSurfaceSuspendedForRecycle(bool suspended) override; 42 void SetSurfaceSuspendedForRecycle(bool suspended) override;
43 bool SurfaceShouldNotShowFramesAfterSuspendForRecycle() const override;
44 #endif 43 #endif
45 44
46 base::WeakPtrFactory<SoftwareBrowserCompositorOutputSurface> weak_factory_; 45 base::WeakPtrFactory<SoftwareBrowserCompositorOutputSurface> weak_factory_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(SoftwareBrowserCompositorOutputSurface); 47 DISALLOW_COPY_AND_ASSIGN(SoftwareBrowserCompositorOutputSurface);
49 }; 48 };
50 49
51 } // namespace content 50 } // namespace content
52 51
53 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE _H_ 52 #endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698