OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 class ExtensionAction; | 12 class ExtensionAction; |
14 | 13 |
15 namespace extensions { | 14 namespace extensions { |
16 | 15 |
17 // Interface for a class that controls the the extension icons that show up in | 16 // Interface for a class that controls the the extension icons that show up in |
(...skipping 21 matching lines...) Expand all Loading... |
39 virtual Action OnClicked(const std::string& extension_id, | 38 virtual Action OnClicked(const std::string& extension_id, |
40 int mouse_button) = 0; | 39 int mouse_button) = 0; |
41 | 40 |
42 // Notifies clients that the icons have changed. | 41 // Notifies clients that the icons have changed. |
43 virtual void NotifyChange() = 0; | 42 virtual void NotifyChange() = 0; |
44 }; | 43 }; |
45 | 44 |
46 } // namespace extensions | 45 } // namespace extensions |
47 | 46 |
48 #endif // CHROME_BROWSER_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_ | 47 #endif // CHROME_BROWSER_EXTENSIONS_LOCATION_BAR_CONTROLLER_H_ |
OLD | NEW |