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

Side by Side Diff: chrome/browser/ui/views/dom_view_browsertest.cc

Issue 5089001: Cleanup: Include browser.h -> ui/browser.h [Part 3]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/browser.h"
6 #include "chrome/browser/views/dom_view.h" 5 #include "chrome/browser/views/dom_view.h"
6 #include "chrome/browser/ui/browser.h"
Lei Zhang 2010/11/16 20:01:28 'u' comes before 'v'.
James Hawkins 2010/11/16 20:43:29 Done.
7 #include "chrome/test/in_process_browser_test.h" 7 #include "chrome/test/in_process_browser_test.h"
8 #include "chrome/test/ui_test_utils.h" 8 #include "chrome/test/ui_test_utils.h"
9 #include "views/widget/root_view.h" 9 #include "views/widget/root_view.h"
10 #include "views/widget/widget.h" 10 #include "views/widget/widget.h"
11 11
12 using namespace views; 12 using namespace views;
13 13
14 class DOMViewTest : public InProcessBrowserTest { 14 class DOMViewTest : public InProcessBrowserTest {
15 public: 15 public:
16 Widget* CreatePopupWindow() { 16 Widget* CreatePopupWindow() {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Re-attach to another Widget. 85 // Re-attach to another Widget.
86 Widget* two = CreatePopupWindow(); 86 Widget* two = CreatePopupWindow();
87 two->GetRootView()->AddChildView(dom_view); 87 two->GetRootView()->AddChildView(dom_view);
88 two->Show(); 88 two->Show();
89 89
90 ui_test_utils::RunAllPendingInMessageLoop(); 90 ui_test_utils::RunAllPendingInMessageLoop();
91 91
92 two->Hide(); 92 two->Hide();
93 } 93 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698