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

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

Issue 100198: Redraw the location bar on reload (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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/browser/views/location_bar_view.cc ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/location_bar.h" 8 #include "chrome/browser/location_bar.h"
9 #include "chrome/common/page_transition_types.h" 9 #include "chrome/common/page_transition_types.h"
10 #include "webkit/glue/window_open_disposition.h" 10 #include "webkit/glue/window_open_disposition.h"
(...skipping 21 matching lines...) Expand all
32 virtual WindowOpenDisposition GetWindowOpenDisposition() const { 32 virtual WindowOpenDisposition GetWindowOpenDisposition() const {
33 return disposition_; 33 return disposition_;
34 } 34 }
35 virtual PageTransition::Type GetPageTransition() const { return transition_; } 35 virtual PageTransition::Type GetPageTransition() const { return transition_; }
36 virtual void AcceptInput() {} 36 virtual void AcceptInput() {}
37 virtual void AcceptInputWithDisposition(WindowOpenDisposition) {}; 37 virtual void AcceptInputWithDisposition(WindowOpenDisposition) {};
38 virtual void FocusLocation() {} 38 virtual void FocusLocation() {}
39 virtual void FocusSearch() {} 39 virtual void FocusSearch() {}
40 virtual void UpdateFeedIcon() {} 40 virtual void UpdateFeedIcon() {}
41 virtual void SaveStateToContents(TabContents* contents) {} 41 virtual void SaveStateToContents(TabContents* contents) {}
42 virtual void Revert() {}
42 43
43 private: 44 private:
44 45
45 // Test-supplied values that will be returned through the LocationBar 46 // Test-supplied values that will be returned through the LocationBar
46 // interface. 47 // interface.
47 std::wstring input_string_; 48 std::wstring input_string_;
48 WindowOpenDisposition disposition_; 49 WindowOpenDisposition disposition_;
49 PageTransition::Type transition_; 50 PageTransition::Type transition_;
50 51
51 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); 52 DISALLOW_COPY_AND_ASSIGN(TestLocationBar);
52 }; 53 };
53 54
54 55
55 #endif // #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_ 56 #endif // #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698