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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window.h

Issue 10870094: Constrained window sheet controller (test patch) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
7 7
8 #include "chrome/browser/ui/browser_window.h" 8 #include "chrome/browser/ui/browser_window.h"
9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 virtual void OpenTabpose() OVERRIDE; 130 virtual void OpenTabpose() OVERRIDE;
131 virtual void EnterPresentationMode( 131 virtual void EnterPresentationMode(
132 const GURL& url, 132 const GURL& url,
133 FullscreenExitBubbleType bubble_type) OVERRIDE; 133 FullscreenExitBubbleType bubble_type) OVERRIDE;
134 virtual void ExitPresentationMode() OVERRIDE; 134 virtual void ExitPresentationMode() OVERRIDE;
135 virtual bool InPresentationMode() OVERRIDE; 135 virtual bool InPresentationMode() OVERRIDE;
136 #endif 136 #endif
137 virtual void ShowInstant(TabContents* preview) OVERRIDE; 137 virtual void ShowInstant(TabContents* preview) OVERRIDE;
138 virtual void HideInstant() OVERRIDE; 138 virtual void HideInstant() OVERRIDE;
139 virtual gfx::Rect GetInstantBounds() OVERRIDE; 139 virtual gfx::Rect GetInstantBounds() OVERRIDE;
140 virtual bool GetIsShowingInstant() OVERRIDE;
140 virtual WindowOpenDisposition GetDispositionForPopupBounds( 141 virtual WindowOpenDisposition GetDispositionForPopupBounds(
141 const gfx::Rect& bounds) OVERRIDE; 142 const gfx::Rect& bounds) OVERRIDE;
142 virtual FindBar* CreateFindBar() OVERRIDE; 143 virtual FindBar* CreateFindBar() OVERRIDE;
143 virtual void ResizeDueToAutoResize(content::WebContents* web_contents, 144 virtual void ResizeDueToAutoResize(content::WebContents* web_contents,
144 const gfx::Size& new_size) OVERRIDE; 145 const gfx::Size& new_size) OVERRIDE;
145 virtual void ShowAvatarBubble(content::WebContents* web_contents, 146 virtual void ShowAvatarBubble(content::WebContents* web_contents,
146 const gfx::Rect& rect) OVERRIDE; 147 const gfx::Rect& rect) OVERRIDE;
147 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; 148 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
148 149
149 // TabStripModelObserver overrides. 150 // TabStripModelObserver overrides.
(...skipping 15 matching lines...) Expand all
165 Panel* panel_; // Weak pointer. Owns us. 166 Panel* panel_; // Weak pointer. Owns us.
166 167
167 // Platform specifc implementation for panels. It'd be one of 168 // Platform specifc implementation for panels. It'd be one of
168 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 169 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
169 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 170 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
170 171
171 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 172 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
172 }; 173 };
173 174
174 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 175 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel_browser_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698