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

Side by Side Diff: ui/compositor/layer_tree_owner.h

Issue 754433003: Update from https://crrev.com/305340 (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 | « ui/compositor/compositor.cc ('k') | ui/gl/generate_bindings.py » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_COMPOSITOR_LAYER_TREE_OWNER_H_ 5 #ifndef UI_COMPOSITOR_LAYER_TREE_OWNER_H_
6 #define UI_COMPOSITOR_LAYER_TREE_OWNER_H_ 6 #define UI_COMPOSITOR_LAYER_TREE_OWNER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
9 #include "ui/compositor/compositor_export.h" 10 #include "ui/compositor/compositor_export.h"
10 11
11 namespace ui { 12 namespace ui {
12 13
13 class Layer; 14 class Layer;
14 15
15 // Scoping object that owns a Layer and all its descendants. 16 // Scoping object that owns a Layer and all its descendants.
16 class COMPOSITOR_EXPORT LayerTreeOwner { 17 class COMPOSITOR_EXPORT LayerTreeOwner {
17 public: 18 public:
18 explicit LayerTreeOwner(Layer* root); 19 explicit LayerTreeOwner(Layer* root);
(...skipping 10 matching lines...) Expand all
29 30
30 private: 31 private:
31 Layer* root_; 32 Layer* root_;
32 33
33 DISALLOW_COPY_AND_ASSIGN(LayerTreeOwner); 34 DISALLOW_COPY_AND_ASSIGN(LayerTreeOwner);
34 }; 35 };
35 36
36 } // namespace 37 } // namespace
37 38
38 #endif // UI_COMPOSITOR_LAYER_TREE_OWNER_H_ 39 #endif // UI_COMPOSITOR_LAYER_TREE_OWNER_H_
OLDNEW
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/gl/generate_bindings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698