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

Side by Side Diff: ash/test/test_system_tray_item.h

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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/test/test_shell_delegate.cc ('k') | ash/test/tray_cast_test_api.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef ASH_COMMON_SYSTEM_TRAY_TEST_TEST_SYSTEM_TRAY_ITEM_H_ 5 #ifndef ASH_COMMON_SYSTEM_TRAY_TEST_TEST_SYSTEM_TRAY_ITEM_H_
6 #define ASH_COMMON_SYSTEM_TRAY_TEST_TEST_SYSTEM_TRAY_ITEM_H_ 6 #define ASH_COMMON_SYSTEM_TRAY_TEST_TEST_SYSTEM_TRAY_ITEM_H_
7 7
8 #include "ash/common/system/tray/system_tray_item.h" 8 #include "ash/system/tray/system_tray_item.h"
9 9
10 namespace ash { 10 namespace ash {
11 namespace test { 11 namespace test {
12 12
13 // Trivial item implementation that tracks its views for testing. By default 13 // Trivial item implementation that tracks its views for testing. By default
14 // views are created and returned by the Create*View() methods and they are 14 // views are created and returned by the Create*View() methods and they are
15 // configured to be visible. Use set_has_views() and set_views_are_visible() to 15 // configured to be visible. Use set_has_views() and set_views_are_visible() to
16 // change this behavior. 16 // change this behavior.
17 class TestSystemTrayItem : public SystemTrayItem { 17 class TestSystemTrayItem : public SystemTrayItem {
18 public: 18 public:
(...skipping 24 matching lines...) Expand all
43 views::View* default_view_; 43 views::View* default_view_;
44 views::View* detailed_view_; 44 views::View* detailed_view_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayItem); 46 DISALLOW_COPY_AND_ASSIGN(TestSystemTrayItem);
47 }; 47 };
48 48
49 } // namespace test 49 } // namespace test
50 } // namespace ash 50 } // namespace ash
51 51
52 #endif // ASH_COMMON_SYSTEM_TRAY_TEST_TEST_SYSTEM_TRAY_ITEM_H_ 52 #endif // ASH_COMMON_SYSTEM_TRAY_TEST_TEST_SYSTEM_TRAY_ITEM_H_
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/test/tray_cast_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698