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

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

Issue 904633004: [cc]: Add a BeginMainFrameNotExpectedSoon signal and route it to the RendererScheduler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix mojo and webview. Created 5 years, 10 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
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/cancelable_callback.h" 9 #include "base/cancelable_callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void SetWindowBounds(const gfx::Size& size) override; 60 void SetWindowBounds(const gfx::Size& size) override;
61 void SetHasTransparentBackground(bool flag) override; 61 void SetHasTransparentBackground(bool flag) override;
62 void SetNeedsComposite() override; 62 void SetNeedsComposite() override;
63 ui::UIResourceProvider& GetUIResourceProvider() override; 63 ui::UIResourceProvider& GetUIResourceProvider() override;
64 ui::ResourceManager& GetResourceManager() override; 64 ui::ResourceManager& GetResourceManager() override;
65 65
66 // LayerTreeHostClient implementation. 66 // LayerTreeHostClient implementation.
67 void WillBeginMainFrame() override {} 67 void WillBeginMainFrame() override {}
68 void DidBeginMainFrame() override {} 68 void DidBeginMainFrame() override {}
69 void BeginMainFrame(const cc::BeginFrameArgs& args) override {} 69 void BeginMainFrame(const cc::BeginFrameArgs& args) override {}
70 void BeginMainFrameNotExpectedSoon() override {}
70 void Layout() override; 71 void Layout() override;
71 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 72 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
72 const gfx::Vector2dF& outer_delta, 73 const gfx::Vector2dF& outer_delta,
73 const gfx::Vector2dF& elastic_overscroll_delta, 74 const gfx::Vector2dF& elastic_overscroll_delta,
74 float page_scale, 75 float page_scale,
75 float top_controls_delta) override {} 76 float top_controls_delta) override {}
76 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, 77 void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
77 float page_scale, 78 float page_scale,
78 float top_controls_delta) override {} 79 float top_controls_delta) override {}
79 void RequestNewOutputSurface() override; 80 void RequestNewOutputSurface() override;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 bool output_surface_request_pending_; 200 bool output_surface_request_pending_;
200 201
201 base::WeakPtrFactory<CompositorImpl> weak_factory_; 202 base::WeakPtrFactory<CompositorImpl> weak_factory_;
202 203
203 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 204 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
204 }; 205 };
205 206
206 } // namespace content 207 } // namespace content
207 208
208 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 209 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW
« no previous file with comments | « cc/trees/thread_proxy.cc ('k') | content/renderer/gpu/render_widget_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698