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

Side by Side Diff: chrome/browser/dom_ui/html_dialog_tab_contents_delegate_unittest.cc

Issue 6532069: Reland "WebUI: Move more files from chrome/browser/dom_ui to chrome/browser/webui. Part 5." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/dom_ui/html_dialog_tab_contents_delegate.h" 5 #include "chrome/browser/webui/html_dialog_tab_contents_delegate.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "chrome/browser/history/history_types.h" 11 #include "chrome/browser/history/history_types.h"
12 #include "chrome/browser/tab_contents/test_tab_contents.h" 12 #include "chrome/browser/tab_contents/test_tab_contents.h"
13 #include "chrome/browser/ui/browser.h" 13 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/browser_list.h" 14 #include "chrome/browser/ui/browser_list.h"
15 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 test_tab_contents_delegate_->OpenURLFromTab( 101 test_tab_contents_delegate_->OpenURLFromTab(
102 NULL, GURL(chrome::kAboutBlankURL), GURL(), 102 NULL, GURL(chrome::kAboutBlankURL), GURL(),
103 NEW_FOREGROUND_TAB, PageTransition::LINK); 103 NEW_FOREGROUND_TAB, PageTransition::LINK);
104 test_tab_contents_delegate_->AddNewContents(NULL, NULL, NEW_FOREGROUND_TAB, 104 test_tab_contents_delegate_->AddNewContents(NULL, NULL, NEW_FOREGROUND_TAB,
105 gfx::Rect(), false); 105 gfx::Rect(), false);
106 EXPECT_EQ(0, browser()->tab_count()); 106 EXPECT_EQ(0, browser()->tab_count());
107 EXPECT_EQ(1U, BrowserList::size()); 107 EXPECT_EQ(1U, BrowserList::size());
108 } 108 }
109 109
110 } // namespace 110 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/constrained_html_ui_browsertest.cc ('k') | chrome/browser/dom_ui/most_visited_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698