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

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

Issue 9517010: Change panels to be able to turn off autoresize. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix assert at the end of RenderWidget::Resize which fixes the tests on OSX. 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/panels/overflow_panel_strip.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 10
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; 175 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE;
176 virtual void HideInstant() OVERRIDE; 176 virtual void HideInstant() OVERRIDE;
177 virtual gfx::Rect GetInstantBounds() OVERRIDE; 177 virtual gfx::Rect GetInstantBounds() OVERRIDE;
178 virtual WindowOpenDisposition GetDispositionForPopupBounds( 178 virtual WindowOpenDisposition GetDispositionForPopupBounds(
179 const gfx::Rect& bounds) OVERRIDE; 179 const gfx::Rect& bounds) OVERRIDE;
180 virtual FindBar* CreateFindBar() OVERRIDE; 180 virtual FindBar* CreateFindBar() OVERRIDE;
181 #if defined(OS_CHROMEOS) 181 #if defined(OS_CHROMEOS)
182 virtual void ShowMobileSetup() OVERRIDE; 182 virtual void ShowMobileSetup() OVERRIDE;
183 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; 183 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE;
184 #endif 184 #endif
185 virtual void UpdatePreferredSize(content::WebContents* web_contents, 185 virtual void ResizeDueToAutoResize(content::WebContents* web_contents,
186 const gfx::Size& pref_size) OVERRIDE; 186 const gfx::Size& new_size) OVERRIDE;
187 virtual void ShowAvatarBubble(content::WebContents* web_contents, 187 virtual void ShowAvatarBubble(content::WebContents* web_contents,
188 const gfx::Rect& rect) OVERRIDE; 188 const gfx::Rect& rect) OVERRIDE;
189 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; 189 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
190 190
191 // TabStripModelObserver overrides. 191 // TabStripModelObserver overrides.
192 virtual void TabInsertedAt(TabContentsWrapper* contents, 192 virtual void TabInsertedAt(TabContentsWrapper* contents,
193 int index, 193 int index,
194 bool foreground) OVERRIDE; 194 bool foreground) OVERRIDE;
195 195
196 // content::NotificationObserver overrides. 196 // content::NotificationObserver overrides.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 // Indicates whether the panel app icon is visible in the taskbar. 323 // Indicates whether the panel app icon is visible in the taskbar.
324 bool app_icon_visible_; 324 bool app_icon_visible_;
325 325
326 content::NotificationRegistrar registrar_; 326 content::NotificationRegistrar registrar_;
327 327
328 DISALLOW_COPY_AND_ASSIGN(Panel); 328 DISALLOW_COPY_AND_ASSIGN(Panel);
329 }; 329 };
330 330
331 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 331 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/overflow_panel_strip.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698