| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 // Browser test for basic Chrome OS file manager functionality: | 5 // Browser test for basic Chrome OS file manager functionality: |
| 6 // - The file list is updated when a file is added externally to the Downloads | 6 // - The file list is updated when a file is added externally to the Downloads |
| 7 // folder. | 7 // folder. |
| 8 // - Selecting a file and copy-pasting it with the keyboard copies the file. | 8 // - Selecting a file and copy-pasting it with the keyboard copies the file. |
| 9 // - Selecting a file and pressing delete deletes it. | 9 // - Selecting a file and pressing delete deletes it. |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "content/public/browser/notification_service.h" | 42 #include "content/public/browser/notification_service.h" |
| 43 #include "content/public/test/test_utils.h" | 43 #include "content/public/test/test_utils.h" |
| 44 #include "extensions/browser/api/test/test_api.h" | 44 #include "extensions/browser/api/test/test_api.h" |
| 45 #include "extensions/browser/app_window/app_window.h" | 45 #include "extensions/browser/app_window/app_window.h" |
| 46 #include "extensions/browser/app_window/app_window_registry.h" | 46 #include "extensions/browser/app_window/app_window_registry.h" |
| 47 #include "extensions/browser/notification_types.h" | 47 #include "extensions/browser/notification_types.h" |
| 48 #include "extensions/common/extension.h" | 48 #include "extensions/common/extension.h" |
| 49 #include "google_apis/drive/drive_api_parser.h" | 49 #include "google_apis/drive/drive_api_parser.h" |
| 50 #include "google_apis/drive/test_util.h" | 50 #include "google_apis/drive/test_util.h" |
| 51 #include "net/test/embedded_test_server/embedded_test_server.h" | 51 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 52 #include "webkit/browser/fileapi/external_mount_points.h" | 52 #include "storage/browser/fileapi/external_mount_points.h" |
| 53 | 53 |
| 54 using drive::DriveIntegrationServiceFactory; | 54 using drive::DriveIntegrationServiceFactory; |
| 55 | 55 |
| 56 namespace file_manager { | 56 namespace file_manager { |
| 57 namespace { | 57 namespace { |
| 58 | 58 |
| 59 enum EntryType { | 59 enum EntryType { |
| 60 FILE, | 60 FILE, |
| 61 DIRECTORY, | 61 DIRECTORY, |
| 62 }; | 62 }; |
| (...skipping 1422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1485 } | 1485 } |
| 1486 | 1486 |
| 1487 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { | 1487 IN_PROC_BROWSER_TEST_F(VideoPlayerBrowserTest, OpenSingleVideoOnDrive) { |
| 1488 AddScript("video_player/open_video_files.js"); | 1488 AddScript("video_player/open_video_files.js"); |
| 1489 set_test_case_name("openSingleVideoOnDrive"); | 1489 set_test_case_name("openSingleVideoOnDrive"); |
| 1490 StartTest(); | 1490 StartTest(); |
| 1491 } | 1491 } |
| 1492 | 1492 |
| 1493 } // namespace | 1493 } // namespace |
| 1494 } // namespace file_manager | 1494 } // namespace file_manager |
| OLD | NEW |