| 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" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 122 |
| 123 // Returns the visible ExtensionAction at |index|. | 123 // Returns the visible ExtensionAction at |index|. |
| 124 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0; | 124 virtual ExtensionAction* GetVisiblePageAction(size_t index) = 0; |
| 125 | 125 |
| 126 // Simulates a left mouse pressed on the visible page action at |index|. | 126 // Simulates a left mouse pressed on the visible page action at |index|. |
| 127 virtual void TestPageActionPressed(size_t index) = 0; | 127 virtual void TestPageActionPressed(size_t index) = 0; |
| 128 | 128 |
| 129 // Returns whether or not the bookmark star decoration is visible. | 129 // Returns whether or not the bookmark star decoration is visible. |
| 130 virtual bool GetBookmarkStarVisibility() = 0; | 130 virtual bool GetBookmarkStarVisibility() = 0; |
| 131 | 131 |
| 132 // Simulates a left mouse press on the content setting image at |index|. |
| 133 // Returns false if there is none. |
| 134 virtual bool TestContentSettingImagePressed(size_t index) = 0; |
| 135 |
| 132 protected: | 136 protected: |
| 133 virtual ~LocationBarTesting() {} | 137 virtual ~LocationBarTesting() {} |
| 134 }; | 138 }; |
| 135 | 139 |
| 136 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ | 140 #endif // CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_H_ |
| OLD | NEW |