| Index: chrome/browser/extensions/extension_view.h
|
| diff --git a/chrome/browser/extensions/extension_view.h b/chrome/browser/extensions/extension_view.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6dad02aea461d9ed0085ba1597def51e39f0642a
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/extension_view.h
|
| @@ -0,0 +1,43 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_
|
| +
|
| +#include "ui/gfx/native_widget_types.h"
|
| +
|
| +class Browser;
|
| +class ExtensionViewContainer;
|
| +
|
| +namespace gfx {
|
| +class Size;
|
| +}
|
| +
|
| +namespace extensions {
|
| +class ExtensionHost;
|
| +}
|
| +
|
| +class ExtensionView {
|
| + public:
|
| + static ExtensionView* Create(extensions::ExtensionHost* host,
|
| + Browser* browser);
|
| +
|
| + virtual ~ExtensionView() {}
|
| +
|
| + virtual Browser* GetBrowser() = 0;
|
| +
|
| + virtual const Browser* GetBrowser() const = 0;
|
| +
|
| + virtual gfx::NativeView GetNativeView() = 0;
|
| +
|
| + virtual void SetContainer(ExtensionViewContainer* container) = 0;
|
| +
|
| + virtual void ResizeDueToAutoResize(const gfx::Size& new_size) = 0;
|
| +
|
| + virtual void RenderViewCreated() = 0;
|
| +
|
| + virtual void DidStopLoading() = 0;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_
|
|
|