OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ | 5 #ifndef CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ |
6 #define CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ | 6 #define CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "ui/base/page_transition_types.h" | 11 #include "ui/base/page_transition_types.h" |
12 #include "ui/base/window_open_disposition.h" | 12 #include "ui/base/window_open_disposition.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 class ExtensionAction; | 15 class ExtensionAction; |
16 class LocationBarTesting; | 16 class LocationBarTesting; |
17 class OmniboxView; | 17 class OmniboxView; |
18 class Profile; | 18 class Profile; |
19 class ContentSettingImageModel; | |
tapted
2017/02/03 00:35:39
nit: sort
kylix_rd
2017/02/03 18:55:03
Done.
| |
19 | 20 |
20 namespace content { | 21 namespace content { |
21 class WebContents; | 22 class WebContents; |
22 } | 23 } |
23 | 24 |
24 namespace extensions { | 25 namespace extensions { |
25 class Extension; | 26 class Extension; |
26 } | 27 } |
27 | 28 |
28 // The LocationBar class is a virtual interface, defining access to the | 29 // The LocationBar class is a virtual interface, defining access to the |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 | 123 |
123 // Returns the visible ExtensionAction at |index|. | 124 // Returns the visible ExtensionAction at |index|. |
124 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0; | 125 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0; |
125 | 126 |
126 // Simulates a left mouse pressed on the visible page action at |index|. | 127 // Simulates a left mouse pressed on the visible page action at |index|. |
127 virtual void TestPageActionPressed(size_t index) = 0; | 128 virtual void TestPageActionPressed(size_t index) = 0; |
128 | 129 |
129 // Returns whether or not the bookmark star decoration is visible. | 130 // Returns whether or not the bookmark star decoration is visible. |
130 virtual bool GetBookmarkStarVisibility() = 0; | 131 virtual bool GetBookmarkStarVisibility() = 0; |
131 | 132 |
133 // Returns the number of ContentSettingImageModels. | |
134 virtual int ContentSettingImageModelCount() = 0; | |
135 | |
136 // Returns the ContentSettingImageModel at |index|. | |
137 virtual ContentSettingImageModel* | |
138 GetContentSettingImageModel(size_t index) = 0; | |
139 | |
132 protected: | 140 protected: |
133 virtual ~LocationBarTesting() {} | 141 virtual ~LocationBarTesting() {} |
134 }; | 142 }; |
135 | 143 |
136 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ | 144 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ |
OLD | NEW |