| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_EXTENSION_MESSAGE_BUBBLE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ |
| 7 | 7 |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 | 9 |
| 10 class Browser; | 10 class Browser; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 // Setup the callback for when the link is clicked in the bubble. | 25 // Setup the callback for when the link is clicked in the bubble. |
| 26 virtual void OnLinkClicked(const base::Closure& callback) = 0; | 26 virtual void OnLinkClicked(const base::Closure& callback) = 0; |
| 27 | 27 |
| 28 // Instruct the bubble to appear. | 28 // Instruct the bubble to appear. |
| 29 virtual void Show() = 0; | 29 virtual void Show() = 0; |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 } // namespace extensions | 32 } // namespace extensions |
| 33 | 33 |
| 34 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | 34 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ |
| OLD | NEW |