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

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

Issue 46055: RSS feed support (part 1), 2nd attempt (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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/renderer/render_view.cc ('k') | webkit/glue/feed.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) 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 18 matching lines...) Expand all
29 // Overridden from LocationBar: 29 // Overridden from LocationBar:
30 virtual void ShowFirstRunBubble() {} 30 virtual void ShowFirstRunBubble() {}
31 virtual std::wstring GetInputString() const { return input_string_; } 31 virtual std::wstring GetInputString() const { return input_string_; }
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 FocusLocation() {} 37 virtual void FocusLocation() {}
38 virtual void FocusSearch() {} 38 virtual void FocusSearch() {}
39 virtual void UpdateFeedIcon() {}
39 virtual void SaveStateToContents(TabContents* contents) {} 40 virtual void SaveStateToContents(TabContents* contents) {}
40 41
41 private: 42 private:
42 43
43 // Test-supplied values that will be returned through the LocationBar 44 // Test-supplied values that will be returned through the LocationBar
44 // interface. 45 // interface.
45 std::wstring input_string_; 46 std::wstring input_string_;
46 WindowOpenDisposition disposition_; 47 WindowOpenDisposition disposition_;
47 PageTransition::Type transition_; 48 PageTransition::Type transition_;
48 49
49 DISALLOW_COPY_AND_ASSIGN(TestLocationBar); 50 DISALLOW_COPY_AND_ASSIGN(TestLocationBar);
50 }; 51 };
51 52
52 53
53 #endif // #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_ 54 #endif // #ifndef CHROME_TEST_TEST_LOCATION_BAR_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/glue/feed.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698