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

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

Issue 3056003: Attemp 2 at: (Closed)
Patch Set: Fix chromeos breakage Created 10 years, 5 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
« no previous file with comments | « chrome/test/test_browser_window.h ('k') | no next file » | 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 #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_ 5 #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_
6 #define CHROME_TEST_TEST_LOCATION_BAR_H_ 6 #define CHROME_TEST_TEST_LOCATION_BAR_H_
7 7
8 #include "chrome/browser/first_run.h" 8 #include "chrome/browser/first_run.h"
9 #include "chrome/browser/location_bar.h" 9 #include "chrome/browser/location_bar.h"
10 #include "chrome/common/page_transition_types.h" 10 #include "chrome/common/page_transition_types.h"
(...skipping 30 matching lines...) Expand all
41 virtual void UpdatePageActions() {} 41 virtual void UpdatePageActions() {}
42 virtual void InvalidatePageActions() {} 42 virtual void InvalidatePageActions() {}
43 virtual void SaveStateToContents(TabContents* contents) {} 43 virtual void SaveStateToContents(TabContents* contents) {}
44 virtual void Revert() {} 44 virtual void Revert() {}
45 virtual const AutocompleteEditView* location_entry() const { 45 virtual const AutocompleteEditView* location_entry() const {
46 return NULL; 46 return NULL;
47 } 47 }
48 virtual AutocompleteEditView* location_entry() { 48 virtual AutocompleteEditView* location_entry() {
49 return NULL; 49 return NULL;
50 } 50 }
51 virtual void PushForceHidden() {}
52 virtual void PopForceHidden() {}
53 virtual LocationBarTesting* GetLocationBarForTesting() { 51 virtual LocationBarTesting* GetLocationBarForTesting() {
54 return NULL; 52 return NULL;
55 } 53 }
56 54
57 private: 55 private:
58 56
59 // Test-supplied values that will be returned through the LocationBar 57 // Test-supplied values that will be returned through the LocationBar
60 // interface. 58 // interface.
61 std::wstring input_string_; 59 std::wstring input_string_;
62 WindowOpenDisposition disposition_; 60 WindowOpenDisposition disposition_;
63 PageTransition::Type transition_; 61 PageTransition::Type transition_;
64 62
65 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); 63 DISALLOW_COPY_AND_ASSIGN(TestLocationBar);
66 }; 64 };
67 65
68 66
69 #endif // CHROME_TEST_TEST_LOCATION_BAR_H_ 67 #endif // CHROME_TEST_TEST_LOCATION_BAR_H_
OLDNEW
« no previous file with comments | « chrome/test/test_browser_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698