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

Side by Side Diff: chrome/browser/location_bar.h

Issue 3043030: Move browser/first_run* into into a subdirectory. (Closed)
Patch Set: Created 10 years, 4 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
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 // The LocationBar class is a virtual interface, defining access to the 5 // The LocationBar class is a virtual interface, defining access to the
6 // window's location bar component. This class exists so that cross-platform 6 // window's location bar component. This class exists so that cross-platform
7 // components like the browser command system can talk to the platform 7 // components like the browser command system can talk to the platform
8 // specific implementations of the location bar control. It also allows the 8 // specific implementations of the location bar control. It also allows the
9 // location bar to be mocked for testing. 9 // location bar to be mocked for testing.
10 10
11 #ifndef CHROME_BROWSER_LOCATION_BAR_H_ 11 #ifndef CHROME_BROWSER_LOCATION_BAR_H_
12 #define CHROME_BROWSER_LOCATION_BAR_H_ 12 #define CHROME_BROWSER_LOCATION_BAR_H_
13 #pragma once 13 #pragma once
14 14
15 #include <string> 15 #include <string>
16 16
17 #include "chrome/browser/first_run.h" 17 #include "chrome/browser/first_run/first_run.h"
18 #include "chrome/common/page_transition_types.h" 18 #include "chrome/common/page_transition_types.h"
19 #include "webkit/glue/window_open_disposition.h" 19 #include "webkit/glue/window_open_disposition.h"
20 20
21 class AutocompleteEditView; 21 class AutocompleteEditView;
22 class ExtensionAction; 22 class ExtensionAction;
23 class LocationBarTesting; 23 class LocationBarTesting;
24 class TabContents; 24 class TabContents;
25 25
26 class LocationBar { 26 class LocationBar {
27 public: 27 public:
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0; 92 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0;
93 93
94 // Simulates a left mouse pressed on the visible page action at |index|. 94 // Simulates a left mouse pressed on the visible page action at |index|.
95 virtual void TestPageActionPressed(size_t index) = 0; 95 virtual void TestPageActionPressed(size_t index) = 0;
96 96
97 protected: 97 protected:
98 virtual ~LocationBarTesting() {} 98 virtual ~LocationBarTesting() {}
99 }; 99 };
100 100
101 #endif // CHROME_BROWSER_LOCATION_BAR_H_ 101 #endif // CHROME_BROWSER_LOCATION_BAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698