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

Side by Side Diff: ash/first_run/first_run_helper_impl.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 years, 6 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 | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/frame/custom_frame_view_ash.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/first_run/first_run_helper_impl.h" 5 #include "ash/first_run/first_run_helper_impl.h"
6 6
7 #include "ash/public/cpp/shell_window_ids.h" 7 #include "ash/public/cpp/shell_window_ids.h"
8 #include "ash/shelf/app_list_button.h" 8 #include "ash/shelf/app_list_button.h"
9 #include "ash/shelf/shelf.h" 9 #include "ash/shelf/shelf.h"
10 #include "ash/shelf/shelf_widget.h" 10 #include "ash/shelf/shelf_widget.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/system/tray/system_tray.h" 12 #include "ash/system/tray/system_tray.h"
13 #include "ash/wm_window.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "ui/app_list/views/app_list_view.h" 14 #include "ui/app_list/views/app_list_view.h"
16 #include "ui/aura/window.h" 15 #include "ui/aura/window.h"
17 #include "ui/display/display.h" 16 #include "ui/display/display.h"
18 #include "ui/display/screen.h" 17 #include "ui/display/screen.h"
19 #include "ui/gfx/geometry/rect.h" 18 #include "ui/gfx/geometry/rect.h"
20 #include "ui/views/view.h" 19 #include "ui/views/view.h"
21 #include "ui/views/widget/widget.h" 20 #include "ui/views/widget/widget.h"
22 21
23 namespace ash { 22 namespace ash {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 return bubble->GetBoundsInScreen(); 94 return bubble->GetBoundsInScreen();
96 } 95 }
97 96
98 gfx::Rect FirstRunHelperImpl::GetHelpButtonBounds() { 97 gfx::Rect FirstRunHelperImpl::GetHelpButtonBounds() {
99 SystemTray* tray = Shell::Get()->GetPrimarySystemTray(); 98 SystemTray* tray = Shell::Get()->GetPrimarySystemTray();
100 views::View* help_button = tray->GetHelpButtonView(); 99 views::View* help_button = tray->GetHelpButtonView();
101 return help_button->GetBoundsInScreen(); 100 return help_button->GetBoundsInScreen();
102 } 101 }
103 102
104 } // namespace ash 103 } // namespace ash
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_tracker_unittest.cc ('k') | ash/frame/custom_frame_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698