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

Side by Side Diff: ui/aura/window.cc

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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 | « ui/aura/window.h ('k') | ui/aura/window_unittest.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ui/aura/window.h" 5 #include "ui/aura/window.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "ui/aura/client/event_client.h" 12 #include "ui/aura/client/event_client.h"
13 #include "ui/aura/client/stacking_client.h" 13 #include "ui/aura/client/stacking_client.h"
14 #include "ui/aura/client/visibility_client.h" 14 #include "ui/aura/client/visibility_client.h"
15 #include "ui/aura/dip_util.h" 15 #include "ui/aura/dip_util.h"
16 #include "ui/aura/env.h" 16 #include "ui/aura/env.h"
17 #include "ui/aura/event.h" 17 #include "ui/aura/event.h"
18 #include "ui/aura/event_filter.h" 18 #include "ui/aura/event_filter.h"
19 #include "ui/aura/layout_manager.h" 19 #include "ui/aura/layout_manager.h"
20 #include "ui/aura/root_window.h" 20 #include "ui/aura/root_window.h"
21 #include "ui/aura/window_delegate.h" 21 #include "ui/aura/window_delegate.h"
22 #include "ui/aura/window_observer.h" 22 #include "ui/aura/window_observer.h"
23 #include "ui/base/animation/multi_animation.h" 23 #include "ui/base/animation/multi_animation.h"
24 #include "ui/compositor/compositor.h"
25 #include "ui/compositor/layer.h"
24 #include "ui/gfx/canvas.h" 26 #include "ui/gfx/canvas.h"
25 #include "ui/gfx/compositor/compositor.h"
26 #include "ui/gfx/compositor/layer.h"
27 #include "ui/gfx/screen.h" 27 #include "ui/gfx/screen.h"
28 28
29 namespace aura { 29 namespace aura {
30 30
31 namespace { 31 namespace {
32 32
33 Window* GetParentForWindow(Window* window, Window* suggested_parent) { 33 Window* GetParentForWindow(Window* window, Window* suggested_parent) {
34 if (suggested_parent) 34 if (suggested_parent)
35 return suggested_parent; 35 return suggested_parent;
36 if (client::GetStackingClient()) 36 if (client::GetStackingClient())
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 if (id_ != -1) { 831 if (id_ != -1) {
832 char id_buf[10]; 832 char id_buf[10];
833 base::snprintf(id_buf, sizeof(id_buf), " %d", id_); 833 base::snprintf(id_buf, sizeof(id_buf), " %d", id_);
834 layer_name.append(id_buf); 834 layer_name.append(id_buf);
835 } 835 }
836 layer()->set_name(layer_name); 836 layer()->set_name(layer_name);
837 #endif 837 #endif
838 } 838 }
839 839
840 } // namespace aura 840 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/window.h ('k') | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698