| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_CONTAINER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_CONTAINER_H_ |
| 7 |
| 8 class ExtensionView; |
| 9 |
| 10 namespace gfx { |
| 11 class Size; |
| 12 } |
| 13 |
| 14 // A class that represents the container that this extension view is in. |
| 15 // (bottom shelf, side bar, etc.) |
| 16 class ExtensionViewContainer { |
| 17 public: |
| 18 virtual ~ExtensionViewContainer() {} |
| 19 |
| 20 virtual void OnExtensionSizeChanged(ExtensionView* view, |
| 21 const gfx::Size& new_size) = 0; |
| 22 |
| 23 virtual void OnExtensionViewDidShow(ExtensionView* view) = 0; |
| 24 }; |
| 25 |
| 26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_CONTAINER_H_ |
| OLD | NEW |