Chromium Code Reviews| 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; |
| 11 | 11 |
| 12 namespace extensions { | 12 namespace extensions { |
| 13 | 13 |
| 14 // The interface between the SuspiciousExtensionBubble bubble and its | 14 // The interface between the SuspiciousExtensionBubble bubble and its |
|
Avi (use Gerrit)
2015/04/16 19:05:54
Is this reference to "SuspiciousExtensionBubble" s
Devlin
2015/04/16 22:40:59
Updated.
| |
| 15 // controller. | 15 // controller. |
| 16 class ExtensionMessageBubble { | 16 class ExtensionMessageBubble { |
| 17 public: | 17 public: |
| 18 // Instruct the bubble to appear. | 18 // Instruct the bubble to appear. |
| 19 virtual void Show() = 0; | 19 virtual void Show() = 0; |
| 20 | |
| 21 protected: | |
| 22 virtual ~ExtensionMessageBubble() {} | |
|
Avi (use Gerrit)
2015/04/16 19:05:54
We didn't already have a virtual destructor here?
| |
| 20 }; | 23 }; |
| 21 | 24 |
| 22 } // namespace extensions | 25 } // namespace extensions |
| 23 | 26 |
| 24 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ | 27 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MESSAGE_BUBBLE_H_ |
| OLD | NEW |