| Index: chrome/browser/ui/panels/panel.h
|
| diff --git a/chrome/browser/ui/panels/panel.h b/chrome/browser/ui/panels/panel.h
|
| index 70c9c39c3a5eda87a5ef4c904b9021b8579937b4..3251b60b0d850304a06564ed3284f7727b6e8171 100644
|
| --- a/chrome/browser/ui/panels/panel.h
|
| +++ b/chrome/browser/ui/panels/panel.h
|
| @@ -27,6 +27,7 @@ class PanelCollection;
|
| class PanelHost;
|
| class PanelManager;
|
| class Profile;
|
| +class StackedPanelCollection;
|
|
|
| namespace content {
|
| class WebContents;
|
| @@ -88,6 +89,8 @@ class Panel : public BaseWindow,
|
| CommandUpdater* command_updater();
|
| Profile* profile() const;
|
|
|
| + const extensions::Extension* GetExtension() const;
|
| +
|
| // Returns web contents of the panel, if any. There may be none if web
|
| // contents have not been added to the panel yet.
|
| content::WebContents* GetWebContents() const;
|
| @@ -176,6 +179,8 @@ class Panel : public BaseWindow,
|
| collection_ = new_collection;
|
| }
|
|
|
| + StackedPanelCollection* stack() const;
|
| +
|
| ExpansionState expansion_state() const { return expansion_state_; }
|
| const gfx::Size& min_size() const { return min_size_; }
|
| const gfx::Size& max_size() const { return max_size_; }
|
| @@ -295,6 +300,9 @@ class Panel : public BaseWindow,
|
| // Updates UI to reflect that the web cotents receives the focus.
|
| void WebContentsFocused(content::WebContents* contents);
|
|
|
| + // Moves the panel by delta instantly.
|
| + void MoveByInstantly(const gfx::Vector2d& delta_origin);
|
| +
|
| protected:
|
| // Panel can only be created using PanelManager::CreatePanel() or subclass.
|
| // |app_name| is the default title for Panels when the page content does not
|
| @@ -325,8 +333,6 @@ class Panel : public BaseWindow,
|
| // Configures the renderer for auto resize (if auto resize is enabled).
|
| void ConfigureAutoResize(content::WebContents* web_contents);
|
|
|
| - const extensions::Extension* GetExtension() const;
|
| -
|
| // Load the app's image, firing a load state change when loaded.
|
| void UpdateAppIcon();
|
|
|
|
|