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

Side by Side Diff: ash/system/locale/tray_locale.cc

Issue 14949004: ash: Rename tray_views.{h,cc} to tray_utils.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix browsertest Created 7 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
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 "ash/system/locale/tray_locale.h" 5 #include "ash/system/locale/tray_locale.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/tray/system_tray_notifier.h" 8 #include "ash/system/tray/system_tray_notifier.h"
9 #include "ash/system/tray/tray_constants.h" 9 #include "ash/system/tray/tray_constants.h"
10 #include "ash/system/tray/tray_notification_view.h" 10 #include "ash/system/tray/tray_notification_view.h"
11 #include "ash/system/tray/tray_views.h"
12 #include "base/string16.h" 11 #include "base/string16.h"
13 #include "grit/ash_resources.h" 12 #include "grit/ash_resources.h"
14 #include "grit/ash_strings.h" 13 #include "grit/ash_strings.h"
15 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/resource/resource_bundle.h" 15 #include "ui/base/resource/resource_bundle.h"
17 #include "ui/views/view.h" 16 #include "ui/views/view.h"
18 #include "ui/views/controls/label.h" 17 #include "ui/views/controls/label.h"
19 #include "ui/views/controls/link.h" 18 #include "ui/views/controls/link.h"
20 #include "ui/views/controls/link_listener.h" 19 #include "ui/views/controls/link_listener.h"
21 #include "ui/views/layout/box_layout.h" 20 #include "ui/views/layout/box_layout.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 from_locale_ = from_locale; 143 from_locale_ = from_locale;
145 to_locale_ = to_locale; 144 to_locale_ = to_locale;
146 if (notification_) 145 if (notification_)
147 notification_->Update(delegate, cur_locale_, from_locale_, to_locale_); 146 notification_->Update(delegate, cur_locale_, from_locale_, to_locale_);
148 else 147 else
149 ShowNotificationView(); 148 ShowNotificationView();
150 } 149 }
151 150
152 } // namespace internal 151 } // namespace internal
153 } // namespace ash 152 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698