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

Side by Side Diff: ui/wm/core/shadow_controller.cc

Issue 589413002: Fix WeakPtrFactory member ordering in ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unwanted header inclusions Created 6 years, 2 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
« no previous file with comments | « ui/wm/core/base_focus_rules.cc ('k') | ui/wm/core/window_util.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/wm/core/shadow_controller.h" 5 #include "ui/wm/core/shadow_controller.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/linked_ptr.h" 11 #include "base/memory/linked_ptr.h"
12 #include "base/scoped_observer.h" 12 #include "base/scoped_observer.h"
13 #include "ui/aura/env.h" 13 #include "ui/aura/env.h"
14 #include "ui/aura/env_observer.h" 14 #include "ui/aura/env_observer.h"
15 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
16 #include "ui/aura/window_event_dispatcher.h"
17 #include "ui/aura/window_observer.h" 16 #include "ui/aura/window_observer.h"
18 #include "ui/compositor/layer.h" 17 #include "ui/compositor/layer.h"
19 #include "ui/wm/core/shadow.h" 18 #include "ui/wm/core/shadow.h"
20 #include "ui/wm/core/shadow_types.h" 19 #include "ui/wm/core/shadow_types.h"
21 #include "ui/wm/core/window_util.h" 20 #include "ui/wm/core/window_util.h"
22 #include "ui/wm/public/activation_client.h" 21 #include "ui/wm/public/activation_client.h"
23 22
24 using std::make_pair; 23 using std::make_pair;
25 24
26 namespace wm { 25 namespace wm {
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 impl_->OnWindowActivated(gained_active, lost_active); 276 impl_->OnWindowActivated(gained_active, lost_active);
278 } 277 }
279 278
280 // ShadowController::TestApi --------------------------------------------------- 279 // ShadowController::TestApi ---------------------------------------------------
281 280
282 Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) { 281 Shadow* ShadowController::TestApi::GetShadowForWindow(aura::Window* window) {
283 return controller_->impl_->GetShadowForWindow(window); 282 return controller_->impl_->GetShadowForWindow(window);
284 } 283 }
285 284
286 } // namespace wm 285 } // namespace wm
OLDNEW
« no previous file with comments | « ui/wm/core/base_focus_rules.cc ('k') | ui/wm/core/window_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698