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

Side by Side Diff: cc/layer_tree_host.h

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some plumbing. Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | cc/layer_tree_host.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_LAYER_TREE_HOST_H_ 5 #ifndef CC_LAYER_TREE_HOST_H_
6 #define CC_LAYER_TREE_HOST_H_ 6 #define CC_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 171
172 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; } 172 void setHasTransparentBackground(bool transparent) { m_hasTransparentBackgro und = transparent; }
173 173
174 PrioritizedResourceManager* contentsTextureManager() const; 174 PrioritizedResourceManager* contentsTextureManager() const;
175 175
176 bool visible() const { return m_visible; } 176 bool visible() const { return m_visible; }
177 void setVisible(bool); 177 void setVisible(bool);
178 178
179 void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnchor, flo at scale, base::TimeDelta duration); 179 void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnchor, flo at scale, base::TimeDelta duration);
180 180
181 void hideTopControls();
182
181 void applyScrollAndScale(const ScrollAndScaleSet&); 183 void applyScrollAndScale(const ScrollAndScaleSet&);
182 void setImplTransform(const gfx::Transform&); 184 void setImplTransform(const gfx::Transform&);
183 185
184 void startRateLimiter(WebKit::WebGraphicsContext3D*); 186 void startRateLimiter(WebKit::WebGraphicsContext3D*);
185 void stopRateLimiter(WebKit::WebGraphicsContext3D*); 187 void stopRateLimiter(WebKit::WebGraphicsContext3D*);
186 188
187 // RateLimitClient implementation 189 // RateLimitClient implementation
188 virtual void rateLimit() OVERRIDE; 190 virtual void rateLimit() OVERRIDE;
189 191
190 bool bufferedUpdates(); 192 bool bufferedUpdates();
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 size_t m_partialTextureUpdateRequests; 285 size_t m_partialTextureUpdateRequests;
284 286
285 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 287 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
286 288
287 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 289 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
288 }; 290 };
289 291
290 } // namespace cc 292 } // namespace cc
291 293
292 #endif // CC_LAYER_TREE_HOST_H_ 294 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | cc/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698