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

Side by Side Diff: cc/layer_tree_host.h

Issue 11552009: Add support for calculating the position of the top controls in the cc layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 11 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
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 int m_commitNumber; 243 int m_commitNumber;
244 RenderingStats m_renderingStats; 244 RenderingStats m_renderingStats;
245 245
246 bool m_rendererInitialized; 246 bool m_rendererInitialized;
247 bool m_outputSurfaceLost; 247 bool m_outputSurfaceLost;
248 int m_numFailedRecreateAttempts; 248 int m_numFailedRecreateAttempts;
249 249
250 scoped_refptr<Layer> m_rootLayer; 250 scoped_refptr<Layer> m_rootLayer;
251 scoped_refptr<HeadsUpDisplayLayer> m_hudLayer; 251 scoped_refptr<HeadsUpDisplayLayer> m_hudLayer;
252 scoped_refptr<Layer> m_topControlsContentLayer;
252 253
253 scoped_ptr<PrioritizedResourceManager> m_contentsTextureManager; 254 scoped_ptr<PrioritizedResourceManager> m_contentsTextureManager;
254 scoped_ptr<PrioritizedResource> m_surfaceMemoryPlaceholder; 255 scoped_ptr<PrioritizedResource> m_surfaceMemoryPlaceholder;
255 256
256 LayerTreeSettings m_settings; 257 LayerTreeSettings m_settings;
257 LayerTreeDebugState m_debugState; 258 LayerTreeDebugState m_debugState;
258 259
259 gfx::Size m_layoutViewportSize; 260 gfx::Size m_layoutViewportSize;
260 gfx::Size m_deviceViewportSize; 261 gfx::Size m_deviceViewportSize;
261 float m_deviceScaleFactor; 262 float m_deviceScaleFactor;
(...skipping 17 matching lines...) Expand all
279 scoped_ptr<AnimationRegistrar> m_animationRegistrar; 280 scoped_ptr<AnimationRegistrar> m_animationRegistrar;
280 281
281 static bool s_needsFilterContext; 282 static bool s_needsFilterContext;
282 283
283 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 284 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
284 }; 285 };
285 286
286 } // namespace cc 287 } // namespace cc
287 288
288 #endif // CC_LAYER_TREE_HOST_H_ 289 #endif // CC_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698