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

Side by Side Diff: chrome/test/base/test_location_bar.h

Issue 12036003: Move window_open_disposition.h from webkit/ into ui/base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 7 years, 11 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
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/base/ui_test_utils.h » ('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 #ifndef CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ 5 #ifndef CHROME_TEST_BASE_TEST_LOCATION_BAR_H_
6 #define CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ 6 #define CHROME_TEST_BASE_TEST_LOCATION_BAR_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/ui/omnibox/location_bar.h" 10 #include "chrome/browser/ui/omnibox/location_bar.h"
11 #include "content/public/common/page_transition_types.h" 11 #include "content/public/common/page_transition_types.h"
12 #include "webkit/glue/window_open_disposition.h" 12 #include "ui/base/window_open_disposition.h"
13 13
14 class TestLocationBar : public LocationBar { 14 class TestLocationBar : public LocationBar {
15 public: 15 public:
16 TestLocationBar(); 16 TestLocationBar();
17 virtual ~TestLocationBar(); 17 virtual ~TestLocationBar();
18 18
19 void set_input_string(const string16& input_string) { 19 void set_input_string(const string16& input_string) {
20 input_string_ = input_string; 20 input_string_ = input_string;
21 } 21 }
22 void set_disposition(WindowOpenDisposition disposition) { 22 void set_disposition(WindowOpenDisposition disposition) {
(...skipping 30 matching lines...) Expand all
53 // interface. 53 // interface.
54 string16 input_string_; 54 string16 input_string_;
55 WindowOpenDisposition disposition_; 55 WindowOpenDisposition disposition_;
56 content::PageTransition transition_; 56 content::PageTransition transition_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); 58 DISALLOW_COPY_AND_ASSIGN(TestLocationBar);
59 }; 59 };
60 60
61 61
62 #endif // CHROME_TEST_BASE_TEST_LOCATION_BAR_H_ 62 #endif // CHROME_TEST_BASE_TEST_LOCATION_BAR_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/tab_proxy.h ('k') | chrome/test/base/ui_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698