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

Side by Side Diff: ash/system/cast/tray_cast.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (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/cast/tray_cast.h ('k') | ash/system/date/date_default_view.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/cast/tray_cast.h" 5 #include "ash/system/cast/tray_cast.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
11 11
12 #include "ash/common/cast_config_controller.h" 12 #include "ash/cast_config_controller.h"
13 #include "ash/common/material_design/material_design_controller.h" 13 #include "ash/material_design/material_design_controller.h"
14 #include "ash/common/session/session_state_delegate.h"
15 #include "ash/common/shelf/wm_shelf_util.h"
16 #include "ash/common/wm_shell.h"
17 #include "ash/public/cpp/shelf_types.h" 14 #include "ash/public/cpp/shelf_types.h"
18 #include "ash/public/interfaces/cast_config.mojom.h" 15 #include "ash/public/interfaces/cast_config.mojom.h"
19 #include "ash/resources/grit/ash_resources.h" 16 #include "ash/resources/grit/ash_resources.h"
20 #include "ash/resources/vector_icons/vector_icons.h" 17 #include "ash/resources/vector_icons/vector_icons.h"
18 #include "ash/session/session_state_delegate.h"
19 #include "ash/shelf/wm_shelf_util.h"
21 #include "ash/strings/grit/ash_strings.h" 20 #include "ash/strings/grit/ash_strings.h"
22 #include "ash/system/screen_security/screen_tray_item.h" 21 #include "ash/system/screen_security/screen_tray_item.h"
23 #include "ash/system/tray/fixed_sized_image_view.h" 22 #include "ash/system/tray/fixed_sized_image_view.h"
24 #include "ash/system/tray/hover_highlight_view.h" 23 #include "ash/system/tray/hover_highlight_view.h"
25 #include "ash/system/tray/system_tray.h" 24 #include "ash/system/tray/system_tray.h"
26 #include "ash/system/tray/system_tray_delegate.h" 25 #include "ash/system/tray/system_tray_delegate.h"
27 #include "ash/system/tray/throbber_view.h" 26 #include "ash/system/tray/throbber_view.h"
28 #include "ash/system/tray/tray_constants.h" 27 #include "ash/system/tray/tray_constants.h"
29 #include "ash/system/tray/tray_details_view.h" 28 #include "ash/system/tray/tray_details_view.h"
30 #include "ash/system/tray/tray_item_more.h" 29 #include "ash/system/tray/tray_item_more.h"
31 #include "ash/system/tray/tray_item_view.h" 30 #include "ash/system/tray/tray_item_view.h"
32 #include "ash/system/tray/tray_utils.h" 31 #include "ash/system/tray/tray_utils.h"
32 #include "ash/wm_shell.h"
33 #include "base/bind.h" 33 #include "base/bind.h"
34 #include "base/strings/utf_string_conversions.h" 34 #include "base/strings/utf_string_conversions.h"
35 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
36 #include "ui/base/resource/resource_bundle.h" 36 #include "ui/base/resource/resource_bundle.h"
37 #include "ui/gfx/image/image.h" 37 #include "ui/gfx/image/image.h"
38 #include "ui/gfx/paint_vector_icon.h" 38 #include "ui/gfx/paint_vector_icon.h"
39 #include "ui/gfx/text_elider.h" 39 #include "ui/gfx/text_elider.h"
40 #include "ui/views/background.h" 40 #include "ui/views/background.h"
41 #include "ui/views/border.h" 41 #include "ui/views/border.h"
42 #include "ui/views/controls/button/button.h" 42 #include "ui/views/controls/button/button.h"
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 563
564 return false; 564 return false;
565 } 565 }
566 566
567 void TrayCast::OnCastingSessionStartedOrStopped(bool started) { 567 void TrayCast::OnCastingSessionStartedOrStopped(bool started) {
568 is_mirror_casting_ = started; 568 is_mirror_casting_ = started;
569 UpdatePrimaryView(); 569 UpdatePrimaryView();
570 } 570 }
571 571
572 } // namespace ash 572 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/cast/tray_cast.h ('k') | ash/system/date/date_default_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698