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

Side by Side Diff: sky/engine/public/platform/WebLayerTreeView.h

Issue 757143004: Remove m_layerTreeView from WebViewImpl. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/public/web/WebSettings.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 /* 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // Indicates that an animation needs to be updated. 91 // Indicates that an animation needs to be updated.
92 virtual void setNeedsAnimate() = 0; 92 virtual void setNeedsAnimate() = 0;
93 93
94 // Indicates whether a commit is pending. 94 // Indicates whether a commit is pending.
95 virtual bool commitRequested() const = 0; 95 virtual bool commitRequested() const = 0;
96 96
97 // Relays the end of a fling animation. 97 // Relays the end of a fling animation.
98 virtual void didStopFlinging() { } 98 virtual void didStopFlinging() { }
99 99
100 // The caller is responsible for keeping the WebCompositeAndReadbackAsyncCal lback
101 // object alive until it is called.
102 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback* ) { }
103
104 // Blocks until the most recently composited frame has finished rendering on the GPU. 100 // Blocks until the most recently composited frame has finished rendering on the GPU.
105 // This can have a significant performance impact and should be used with ca re. 101 // This can have a significant performance impact and should be used with ca re.
106 virtual void finishAllRendering() = 0; 102 virtual void finishAllRendering() = 0;
107 103
108 // Prevents updates to layer tree from becoming visible. 104 // Prevents updates to layer tree from becoming visible.
109 virtual void setDeferCommits(bool deferCommits) { } 105 virtual void setDeferCommits(bool deferCommits) { }
110 106
111 // Take responsiblity for this layer's animations, even if this layer hasn't yet
112 // been added to the tree.
113 virtual void registerForAnimations(WebLayer* layer) { }
114
115 // Identify key layers to the compositor when using the pinch virtual viewpo rt. 107 // Identify key layers to the compositor when using the pinch virtual viewpo rt.
116 virtual void registerViewportLayers( 108 virtual void registerViewportLayers(
117 const WebLayer* pageScaleLayerLayer, 109 const WebLayer* pageScaleLayerLayer,
118 const WebLayer* innerViewportScrollLayer, 110 const WebLayer* innerViewportScrollLayer,
119 const WebLayer* outerViewportScrollLayer) { } 111 const WebLayer* outerViewportScrollLayer) { }
120 virtual void clearViewportLayers() { } 112 virtual void clearViewportLayers() { }
121 113
122 // Used to update the active selection bounds. 114 // Used to update the active selection bounds.
123 // If the (empty) selection is an insertion point, |start| and |end| will be identical with type |Caret|. 115 // If the (empty) selection is an insertion point, |start| and |end| will be identical with type |Caret|.
124 // If the (non-empty) selection has mixed RTL/LTR text, |start| and |end| ma y share the same type, 116 // If the (non-empty) selection has mixed RTL/LTR text, |start| and |end| ma y share the same type,
(...skipping 15 matching lines...) Expand all
140 // Toggles continuous painting 132 // Toggles continuous painting
141 virtual void setContinuousPaintingEnabled(bool) { } 133 virtual void setContinuousPaintingEnabled(bool) { }
142 134
143 // Toggles scroll bottleneck rects on the HUD layer 135 // Toggles scroll bottleneck rects on the HUD layer
144 virtual void setShowScrollBottleneckRects(bool) { } 136 virtual void setShowScrollBottleneckRects(bool) { }
145 }; 137 };
146 138
147 } // namespace blink 139 } // namespace blink
148 140
149 #endif // SKY_ENGINE_PUBLIC_PLATFORM_WEBLAYERTREEVIEW_H_ 141 #endif // SKY_ENGINE_PUBLIC_PLATFORM_WEBLAYERTREEVIEW_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/ChromeClient.h ('k') | sky/engine/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698