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

Side by Side Diff: ash/screensaver/screensaver_view_unittest.cc

Issue 11474002: Cleanup of removing unnecessary web_contents.h include from webview.h. This is split off from https… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years 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
« no previous file with comments | « ash/screensaver/screensaver_view.cc ('k') | chrome/browser/ui/views/panels/panel_view.cc » ('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 (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
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
OLDNEW
« no previous file with comments | « ash/screensaver/screensaver_view.cc ('k') | chrome/browser/ui/views/panels/panel_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698