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

Side by Side Diff: chrome/test/automation/dom_automation_browsertest.cc

Issue 5046002: Cleanup: Include browser.h -> ui/browser.h [Part 2]. (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
« no previous file with comments | « chrome/test/automation/browser_proxy.h ('k') | chrome/test/browser_with_test_window_test.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) 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 "base/ref_counted.h" 5 #include "base/ref_counted.h"
6 #include "base/string_number_conversions.h" 6 #include "base/string_number_conversions.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/test/automation/dom_element_proxy.h" 8 #include "chrome/test/automation/dom_element_proxy.h"
9 #include "chrome/test/automation/javascript_execution_controller.h" 9 #include "chrome/test/automation/javascript_execution_controller.h"
10 #include "chrome/browser/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/test/in_process_browser_test.h" 11 #include "chrome/test/in_process_browser_test.h"
12 #include "chrome/test/ui_test_utils.h" 12 #include "chrome/test/ui_test_utils.h"
13 13
14 namespace { 14 namespace {
15 15
16 // Tests the DOMAutomation framework for manipulating DOMElements within 16 // Tests the DOMAutomation framework for manipulating DOMElements within
17 // browser tests. 17 // browser tests.
18 class DOMAutomationTest : public InProcessBrowserTest { 18 class DOMAutomationTest : public InProcessBrowserTest {
19 public: 19 public:
20 DOMAutomationTest() { 20 DOMAutomationTest() {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 L"' \"" 294 L"' \""
295 }; 295 };
296 for (size_t i = 0; i < 3; i++) { 296 for (size_t i = 0; i < 3; i++) {
297 ASSERT_TRUE(textarea->SetText(WideToUTF8(set_and_expect_strings[i]))); 297 ASSERT_TRUE(textarea->SetText(WideToUTF8(set_and_expect_strings[i])));
298 ASSERT_NO_FATAL_FAILURE(textarea->EnsureTextMatches( 298 ASSERT_NO_FATAL_FAILURE(textarea->EnsureTextMatches(
299 WideToUTF8(set_and_expect_strings[i]))); 299 WideToUTF8(set_and_expect_strings[i])));
300 } 300 }
301 } 301 }
302 302
303 } // namespace 303 } // namespace
OLDNEW
« no previous file with comments | « chrome/test/automation/browser_proxy.h ('k') | chrome/test/browser_with_test_window_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698