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

Side by Side Diff: chrome/browser/extensions/browser_extension_window_controller.h

Issue 9428018: Create BaseWindow and ExtensionWindowWrapper for extension API access to Panels (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/extensions/browser_extension_window_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_EXTENSION_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_EXTENSION_WINDOW_CONTROLLER_H_
7 #pragma once
8
9 #include "chrome/browser/extensions/extension_window_controller.h"
10
11 class Browser;
12
13 class BrowserExtensionWindowController : public ExtensionWindowController {
14 public:
15 explicit BrowserExtensionWindowController(Browser* browser);
16
17 // ExtensionWindowController implementation.
18 virtual const SessionID& GetSessionId() const OVERRIDE;
19 virtual base::DictionaryValue* CreateWindowValue() const OVERRIDE;
20 virtual base::DictionaryValue* CreateWindowValueWithTabs() const OVERRIDE;
21 virtual bool CanClose(Reason* reason) const OVERRIDE;
22 virtual void SetFullscreenMode(bool is_fullscreen,
23 const GURL& extension_url) const OVERRIDE;
24
25 private:
26 Browser* browser_;
27
28 DISALLOW_COPY_AND_ASSIGN(BrowserExtensionWindowController);
29 };
30
31 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EXTENSION_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/browser_extension_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698