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

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

Issue 204793004: Makes View::RecreateLayer() and Window::RecreateLayer() the same (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 6 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
OLDNEW
(Empty)
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
oshima 2014/03/19 18:12:44 nit: nuke (c). same for other files.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_COMPOSITOR_CLONE_LAYER_H_
6 #define UI_COMPOSITOR_CLONE_LAYER_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "ui/compositor/compositor_export.h"
10
11 namespace ui {
12
13 class Layer;
14 class LayerOwner;
15
16 // Creates a new Layer for |layer_owner| returning the old. This does NOT
17 // recurse. All the existing children of the layer are moved to the new layer.
18 // This does nothing if |layer_owner| currently has no layer.
19 COMPOSITOR_EXPORT scoped_ptr<ui::Layer> CloneLayer(LayerOwner* layer_owner);
20
21 } // namespace ui
oshima 2014/03/19 18:12:44 ditto
22
23 #endif // UI_COMPOSITOR_CLONE_LAYER_H_
OLDNEW
« no previous file with comments | « ui/aura/window.cc ('k') | ui/compositor/clone_layer.cc » ('j') | ui/compositor/clone_layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698