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

Side by Side Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 2887053002: Remove scroll_clip_layer dependency from viewport layer tracking (Closed)
Patch Set: Cleanup return stmt Created 3 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual void CompositeAndReadbackAsync( 132 virtual void CompositeAndReadbackAsync(
133 WebCompositeAndReadbackAsyncCallback*) {} 133 WebCompositeAndReadbackAsyncCallback*) {}
134 134
135 // Prevents updates to layer tree from becoming visible. 135 // Prevents updates to layer tree from becoming visible.
136 virtual void SetDeferCommits(bool defer_commits) {} 136 virtual void SetDeferCommits(bool defer_commits) {}
137 137
138 // Identify key viewport layers to the compositor. 138 // Identify key viewport layers to the compositor.
139 virtual void RegisterViewportLayers( 139 virtual void RegisterViewportLayers(
140 const WebLayer* overscroll_elasticity_layer, 140 const WebLayer* overscroll_elasticity_layer,
141 const WebLayer* page_scale_layer, 141 const WebLayer* page_scale_layer,
142 const WebLayer* inner_viewport_container_layer,
143 const WebLayer* outer_viewport_container_layer,
142 const WebLayer* inner_viewport_scroll_layer, 144 const WebLayer* inner_viewport_scroll_layer,
143 const WebLayer* outer_viewport_scroll_layer) {} 145 const WebLayer* outer_viewport_scroll_layer) {}
144 virtual void ClearViewportLayers() {} 146 virtual void ClearViewportLayers() {}
145 147
146 // Used to update the active selection bounds. 148 // Used to update the active selection bounds.
147 virtual void RegisterSelection(const WebSelection&) {} 149 virtual void RegisterSelection(const WebSelection&) {}
148 virtual void ClearSelection() {} 150 virtual void ClearSelection() {}
149 151
150 // Mutations are plumbed back to the layer tree via the mutator client. 152 // Mutations are plumbed back to the layer tree via the mutator client.
151 virtual void SetMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {} 153 virtual void SetMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) {}
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 virtual void SetShowScrollBottleneckRects(bool) {} 188 virtual void SetShowScrollBottleneckRects(bool) {}
187 189
188 // ReportTimeCallback is a callback that should be fired when the 190 // ReportTimeCallback is a callback that should be fired when the
189 // corresponding Swap completes (either with DidSwap or DidNotSwap). 191 // corresponding Swap completes (either with DidSwap or DidNotSwap).
190 virtual void NotifySwapTime(ReportTimeCallback callback) {} 192 virtual void NotifySwapTime(ReportTimeCallback callback) {}
191 }; 193 };
192 194
193 } // namespace blink 195 } // namespace blink
194 196
195 #endif // WebLayerTreeView_h 197 #endif // WebLayerTreeView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698