Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6271)

Unified Diff: chrome/browser/extensions/extension_view_container.h

Issue 10913243: extensions: Add ExtensionView interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: weak Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/extensions/extension_view.h ('k') | chrome/browser/ui/android/extensions/extension_view_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698