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

Side by Side Diff: ash/system/chromeos/screen_security/screen_tray_item_unittest.cc

Issue 224113005: Eliminate ash::internal namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 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/system/chromeos/screen_security/screen_tray_item.h" 5 #include "ash/system/chromeos/screen_security/screen_tray_item.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/system/chromeos/screen_security/screen_capture_tray_item.h" 8 #include "ash/system/chromeos/screen_security/screen_capture_tray_item.h"
9 #include "ash/system/chromeos/screen_security/screen_share_tray_item.h" 9 #include "ash/system/chromeos/screen_security/screen_share_tray_item.h"
10 #include "ash/system/tray/tray_item_view.h" 10 #include "ash/system/tray/tray_item_view.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "ui/events/event.h" 14 #include "ui/events/event.h"
15 #include "ui/gfx/point.h" 15 #include "ui/gfx/point.h"
16 #include "ui/message_center/message_center.h" 16 #include "ui/message_center/message_center.h"
17 #include "ui/views/view.h" 17 #include "ui/views/view.h"
18 18
19 namespace ash { 19 namespace ash {
20 namespace internal {
21 20
22 // Test with unicode strings. 21 // Test with unicode strings.
23 const char kTestScreenCaptureAppName[] = 22 const char kTestScreenCaptureAppName[] =
24 "\xE0\xB2\xA0\x5F\xE0\xB2\xA0 (Screen Capture Test)"; 23 "\xE0\xB2\xA0\x5F\xE0\xB2\xA0 (Screen Capture Test)";
25 const char kTestScreenShareHelperName[] = 24 const char kTestScreenShareHelperName[] =
26 "\xE5\xAE\x8B\xE8\x85\xBE (Screen Share Test)"; 25 "\xE5\xAE\x8B\xE8\x85\xBE (Screen Share Test)";
27 26
28 SystemTray* GetSystemTray() { 27 SystemTray* GetSystemTray() {
29 return Shell::GetInstance()->GetPrimarySystemTray(); 28 return Shell::GetInstance()->GetPrimarySystemTray();
30 } 29 }
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 215 }
217 216
218 TEST_F(ScreenCaptureTest, SystemTrayInteraction) { 217 TEST_F(ScreenCaptureTest, SystemTrayInteraction) {
219 TestSystemTrayInteraction(this); 218 TestSystemTrayInteraction(this);
220 } 219 }
221 220
222 TEST_F(ScreenShareTest, SystemTrayInteraction) { 221 TEST_F(ScreenShareTest, SystemTrayInteraction) {
223 TestSystemTrayInteraction(this); 222 TestSystemTrayInteraction(this);
224 } 223 }
225 224
226 } // namespace internal 225 } // namespace ash
227 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698