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

Side by Side Diff: ash/system/date/date_default_view.cc

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ash/system/date/date_default_view.h ('k') | ash/system/date/date_view.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/system/date/date_default_view.h" 5 #include "ash/system/date/date_default_view.h"
6 6
7 #include "ash/common/session/session_state_delegate.h"
8 #include "ash/common/shutdown_controller.h"
9 #include "ash/common/wm_shell.h"
10 #include "ash/metrics/user_metrics_action.h" 7 #include "ash/metrics/user_metrics_action.h"
11 #include "ash/resources/grit/ash_resources.h" 8 #include "ash/resources/grit/ash_resources.h"
9 #include "ash/session/session_state_delegate.h"
12 #include "ash/shell.h" 10 #include "ash/shell.h"
11 #include "ash/shutdown_controller.h"
13 #include "ash/strings/grit/ash_strings.h" 12 #include "ash/strings/grit/ash_strings.h"
14 #include "ash/system/date/date_view.h" 13 #include "ash/system/date/date_view.h"
15 #include "ash/system/tray/special_popup_row.h" 14 #include "ash/system/tray/special_popup_row.h"
16 #include "ash/system/tray/system_tray.h" 15 #include "ash/system/tray/system_tray.h"
17 #include "ash/system/tray/system_tray_controller.h" 16 #include "ash/system/tray/system_tray_controller.h"
18 #include "ash/system/tray/tray_constants.h" 17 #include "ash/system/tray/tray_constants.h"
19 #include "ash/system/tray/tray_popup_header_button.h" 18 #include "ash/system/tray/tray_popup_header_button.h"
20 #include "ash/wm/lock_state_controller.h" 19 #include "ash/wm/lock_state_controller.h"
20 #include "ash/wm_shell.h"
21 #include "base/i18n/rtl.h" 21 #include "base/i18n/rtl.h"
22 #include "chromeos/dbus/dbus_thread_manager.h" 22 #include "chromeos/dbus/dbus_thread_manager.h"
23 #include "chromeos/dbus/session_manager_client.h" 23 #include "chromeos/dbus/session_manager_client.h"
24 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
25 #include "ui/views/border.h" 25 #include "ui/views/border.h"
26 #include "ui/views/controls/button/button.h" 26 #include "ui/views/controls/button/button.h"
27 #include "ui/views/layout/fill_layout.h" 27 #include "ui/views/layout/fill_layout.h"
28 #include "ui/views/view.h" 28 #include "ui/views/view.h"
29 29
30 namespace { 30 namespace {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 chromeos::DBusThreadManager::Get() 137 chromeos::DBusThreadManager::Get()
138 ->GetSessionManagerClient() 138 ->GetSessionManagerClient()
139 ->RequestLockScreen(); 139 ->RequestLockScreen();
140 } else { 140 } else {
141 NOTREACHED(); 141 NOTREACHED();
142 } 142 }
143 date_view_->CloseSystemBubble(); 143 date_view_->CloseSystemBubble();
144 } 144 }
145 145
146 } // namespace ash 146 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/date/date_default_view.h ('k') | ash/system/date/date_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698