OLD | NEW |
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/geometry/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 | 20 |
21 // Test with unicode strings. | 21 // Test with unicode strings. |
22 const char kTestScreenCaptureAppName[] = | 22 const char kTestScreenCaptureAppName[] = |
23 "\xE0\xB2\xA0\x5F\xE0\xB2\xA0 (Screen Capture Test)"; | 23 "\xE0\xB2\xA0\x5F\xE0\xB2\xA0 (Screen Capture Test)"; |
24 const char kTestScreenShareHelperName[] = | 24 const char kTestScreenShareHelperName[] = |
25 "\xE5\xAE\x8B\xE8\x85\xBE (Screen Share Test)"; | 25 "\xE5\xAE\x8B\xE8\x85\xBE (Screen Share Test)"; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 217 |
218 TEST_F(ScreenCaptureTest, SystemTrayInteraction) { | 218 TEST_F(ScreenCaptureTest, SystemTrayInteraction) { |
219 TestSystemTrayInteraction(this); | 219 TestSystemTrayInteraction(this); |
220 } | 220 } |
221 | 221 |
222 TEST_F(ScreenShareTest, SystemTrayInteraction) { | 222 TEST_F(ScreenShareTest, SystemTrayInteraction) { |
223 TestSystemTrayInteraction(this); | 223 TestSystemTrayInteraction(this); |
224 } | 224 } |
225 | 225 |
226 } // namespace ash | 226 } // namespace ash |
OLD | NEW |