| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/screensaver/screensaver_view.h" | 5 #include "ash/screensaver/screensaver_view.h" |
| 6 | 6 |
| 7 #include "ash/test/ash_test_base.h" | 7 #include "ash/test/ash_test_base.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "content/public/browser/browser_context.h" | 9 #include "content/public/browser/browser_context.h" |
| 10 #include "content/public/browser/web_contents.h" |
| 10 #include "ui/views/controls/webview/webview.h" | 11 #include "ui/views/controls/webview/webview.h" |
| 11 #include "ui/views/test/webview_test_helper.h" | 12 #include "ui/views/test/webview_test_helper.h" |
| 12 | 13 |
| 13 namespace ash { | 14 namespace ash { |
| 14 namespace test { | 15 namespace test { |
| 15 | 16 |
| 16 class ScreensaverViewTest : public ash::test::AshTestBase { | 17 class ScreensaverViewTest : public ash::test::AshTestBase { |
| 17 public: | 18 public: |
| 18 ScreensaverViewTest() { | 19 ScreensaverViewTest() { |
| 19 url_ = GURL("http://www.google.com"); | 20 url_ = GURL("http://www.google.com"); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 RunAllPendingInMessageLoop(); | 80 RunAllPendingInMessageLoop(); |
| 80 | 81 |
| 81 ash::CloseScreensaver(); | 82 ash::CloseScreensaver(); |
| 82 ExpectClosedScreensaver(); | 83 ExpectClosedScreensaver(); |
| 83 ash::CloseScreensaver(); | 84 ash::CloseScreensaver(); |
| 84 ExpectClosedScreensaver(); | 85 ExpectClosedScreensaver(); |
| 85 } | 86 } |
| 86 | 87 |
| 87 } // namespace test | 88 } // namespace test |
| 88 } // namespace ash | 89 } // namespace ash |
| OLD | NEW |