summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/window_controller.h
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-14 22:38:26 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-14 22:38:26 +0000
commit92b34f71dff1fdd493194acde42a225aecf4cc2f (patch)
treed9b6ccf88c35f6a1867e5233c13aa603e46e4c29 /chrome/browser/extensions/window_controller.h
parent8eb93ed662dcbc6c4414b9524099b80760831d48 (diff)
downloadchromium_src-92b34f71dff1fdd493194acde42a225aecf4cc2f.zip
chromium_src-92b34f71dff1fdd493194acde42a225aecf4cc2f.tar.gz
chromium_src-92b34f71dff1fdd493194acde42a225aecf4cc2f.tar.bz2
Add ShellWindowContents and AppWindow/Panel implementations.
This CL: * Adds ShellWindowRenderInterface to abstract creating and observing web contents and passing messages to the extensions system * Moves related ShellWindow to AppWindowRenderInterface * Adds AshPanelRenderInterface for v1 ash panel specific impl * Hooks up chrome.windows.create(type = panel) to use Ash Panels. BUG=160645 Review URL: https://codereview.chromium.org/12209028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182559 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/window_controller.h')
-rw-r--r--chrome/browser/extensions/window_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/window_controller.h b/chrome/browser/extensions/window_controller.h
index ec9f6e2..48a881e 100644
--- a/chrome/browser/extensions/window_controller.h
+++ b/chrome/browser/extensions/window_controller.h
@@ -60,6 +60,9 @@ class WindowController {
virtual base::DictionaryValue* CreateWindowValueWithTabs(
const extensions::Extension* extension) const = 0;
+ virtual base::DictionaryValue* CreateTabValue(
+ const extensions::Extension* extension, int tab_index) const = 0;
+
// Returns false if the window is in a state where closing the window is not
// permitted and sets |reason| if not NULL.
virtual bool CanClose(Reason* reason) const = 0;