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

Side by Side Diff: ash/shelf/shelf_widget.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "ash/shelf/shelf_widget.h" 5 #include "ash/shelf/shelf_widget.h"
6 6
7 #include "ash/animation/animation_change_type.h" 7 #include "ash/animation/animation_change_type.h"
8 #include "ash/focus_cycler.h" 8 #include "ash/focus_cycler.h"
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/session/session_controller.h" 10 #include "ash/session/session_controller.h"
11 #include "ash/shelf/app_list_button.h" 11 #include "ash/shelf/app_list_button.h"
12 #include "ash/shelf/shelf_background_animator_observer.h" 12 #include "ash/shelf/shelf_background_animator_observer.h"
13 #include "ash/shelf/shelf_constants.h" 13 #include "ash/shelf/shelf_constants.h"
14 #include "ash/shelf/shelf_delegate.h" 14 #include "ash/shelf/shelf_delegate.h"
15 #include "ash/shelf/shelf_layout_manager.h" 15 #include "ash/shelf/shelf_layout_manager.h"
16 #include "ash/shelf/shelf_view.h" 16 #include "ash/shelf/shelf_view.h"
17 #include "ash/shelf/wm_shelf.h" 17 #include "ash/shelf/wm_shelf.h"
18 #include "ash/shelf/wm_shelf_util.h" 18 #include "ash/shelf/wm_shelf_util.h"
19 #include "ash/shell.h" 19 #include "ash/shell.h"
20 #include "ash/system/status_area_layout_manager.h" 20 #include "ash/system/status_area_layout_manager.h"
21 #include "ash/system/status_area_widget.h" 21 #include "ash/system/status_area_widget.h"
22 #include "ash/wm/window_properties.h" 22 #include "ash/wm/window_properties.h"
23 #include "ash/wm_shell.h"
24 #include "ash/wm_window.h" 23 #include "ash/wm_window.h"
25 #include "base/memory/ptr_util.h" 24 #include "base/memory/ptr_util.h"
26 #include "ui/compositor/layer.h" 25 #include "ui/compositor/layer.h"
27 #include "ui/compositor/scoped_layer_animation_settings.h" 26 #include "ui/compositor/scoped_layer_animation_settings.h"
28 #include "ui/gfx/skbitmap_operations.h" 27 #include "ui/gfx/skbitmap_operations.h"
29 #include "ui/views/accessible_pane_view.h" 28 #include "ui/views/accessible_pane_view.h"
30 #include "ui/views/layout/fill_layout.h" 29 #include "ui/views/layout/fill_layout.h"
31 #include "ui/views/widget/widget.h" 30 #include "ui/views/widget/widget.h"
32 #include "ui/views/widget/widget_delegate.h" 31 #include "ui/views/widget/widget_delegate.h"
33 32
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 if (shelf_view_) 351 if (shelf_view_)
353 shelf_view_->UpdateShelfItemBackground(color); 352 shelf_view_->UpdateShelfItemBackground(color);
354 } 353 }
355 354
356 void ShelfWidget::WillDeleteShelfLayoutManager() { 355 void ShelfWidget::WillDeleteShelfLayoutManager() {
357 shelf_layout_manager_->RemoveObserver(this); 356 shelf_layout_manager_->RemoveObserver(this);
358 shelf_layout_manager_ = nullptr; 357 shelf_layout_manager_ = nullptr;
359 } 358 }
360 359
361 } // namespace ash 360 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698