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

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

Issue 1797663002: Fixes failing instrumentation tests on Nakasi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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_COMPOSITOR_IMPL_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 void RecordFrameTimingEvents( 106 void RecordFrameTimingEvents(
107 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events, 107 scoped_ptr<cc::FrameTimingTracker::CompositeTimingSet> composite_events,
108 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events) 108 scoped_ptr<cc::FrameTimingTracker::MainFrameTimingSet> main_frame_events)
109 override {} 109 override {}
110 110
111 // LayerTreeHostSingleThreadClient implementation. 111 // LayerTreeHostSingleThreadClient implementation.
112 void DidPostSwapBuffers() override; 112 void DidPostSwapBuffers() override;
113 void DidAbortSwapBuffers() override; 113 void DidAbortSwapBuffers() override;
114 114
115 // WindowAndroidCompositor implementation. 115 // WindowAndroidCompositor implementation.
116 void AttachLayerForReadback(scoped_refptr<cc::Layer> layer) override;
116 void RequestCopyOfOutputOnRootLayer( 117 void RequestCopyOfOutputOnRootLayer(
117 scoped_ptr<cc::CopyOutputRequest> request) override; 118 scoped_ptr<cc::CopyOutputRequest> request) override;
118 void OnVSync(base::TimeTicks frame_time, 119 void OnVSync(base::TimeTicks frame_time,
119 base::TimeDelta vsync_period) override; 120 base::TimeDelta vsync_period) override;
120 void SetNeedsAnimate() override; 121 void SetNeedsAnimate() override;
121 void SetVisible(bool visible); 122 void SetVisible(bool visible);
122 void CreateOutputSurface(); 123 void CreateOutputSurface();
123 void CreateLayerTreeHost(); 124 void CreateLayerTreeHost();
124 125
125 void OnGpuChannelEstablished(); 126 void OnGpuChannelEstablished();
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 gpu::Capabilities gpu_capabilities_; 170 gpu::Capabilities gpu_capabilities_;
170 bool needs_begin_frames_; 171 bool needs_begin_frames_;
171 base::WeakPtrFactory<CompositorImpl> weak_factory_; 172 base::WeakPtrFactory<CompositorImpl> weak_factory_;
172 173
173 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 174 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
174 }; 175 };
175 176
176 } // namespace content 177 } // namespace content
177 178
178 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 179 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698