| Index: chrome/browser/extensions/extension_view_container.h
|
| diff --git a/chrome/browser/extensions/extension_view_container.h b/chrome/browser/extensions/extension_view_container.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..75a0dec0111a2018cad7c6e0fbd0c11ed0168978
|
| --- /dev/null
|
| +++ b/chrome/browser/extensions/extension_view_container.h
|
| @@ -0,0 +1,26 @@
|
| +// 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_CONTAINER_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_CONTAINER_H_
|
| +
|
| +class ExtensionView;
|
| +
|
| +namespace gfx {
|
| +class Size;
|
| +}
|
| +
|
| +// A class that represents the container that this extension view is in.
|
| +// (bottom shelf, side bar, etc.)
|
| +class ExtensionViewContainer {
|
| + public:
|
| + virtual ~ExtensionViewContainer() {}
|
| +
|
| + virtual void OnExtensionSizeChanged(ExtensionView* view,
|
| + const gfx::Size& new_size) = 0;
|
| +
|
| + virtual void OnExtensionViewDidShow(ExtensionView* view) = 0;
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_CONTAINER_H_
|
|
|