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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« 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