| 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_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ |
| 7 |
| 8 class Browser; |
| 9 |
| 10 namespace gfx { |
| 11 class Size; |
| 12 } |
| 13 |
| 14 namespace extensions { |
| 15 class ExtensionHost; |
| 16 } |
| 17 |
| 18 class ExtensionView { |
| 19 public: |
| 20 static ExtensionView* Create(extensions::ExtensionHost* host, |
| 21 Browser* browser); |
| 22 |
| 23 virtual ~ExtensionView() {} |
| 24 |
| 25 virtual Browser* GetBrowser() = 0; |
| 26 |
| 27 virtual void ResizeDueToAutoResize(const gfx::Size& new_size) = 0; |
| 28 |
| 29 virtual void RenderViewCreated() = 0; |
| 30 |
| 31 virtual void DidStopLoading() = 0; |
| 32 }; |
| 33 |
| 34 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ |
| OLD | NEW |