OLD | NEW |
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; | 176 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; |
177 virtual void HideInstant() OVERRIDE; | 177 virtual void HideInstant() OVERRIDE; |
178 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 178 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
179 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 179 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
180 const gfx::Rect& bounds) OVERRIDE; | 180 const gfx::Rect& bounds) OVERRIDE; |
181 virtual FindBar* CreateFindBar() OVERRIDE; | 181 virtual FindBar* CreateFindBar() OVERRIDE; |
182 #if defined(OS_CHROMEOS) | 182 #if defined(OS_CHROMEOS) |
183 virtual void ShowMobileSetup() OVERRIDE; | 183 virtual void ShowMobileSetup() OVERRIDE; |
184 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 184 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
185 #endif | 185 #endif |
186 virtual void UpdatePreferredSize(content::WebContents* web_contents, | 186 virtual void ResizeDueToAutoResize(content::WebContents* web_contents, |
187 const gfx::Size& pref_size) OVERRIDE; | 187 const gfx::Size& new_size) OVERRIDE; |
188 virtual void ShowAvatarBubble(content::WebContents* web_contents, | 188 virtual void ShowAvatarBubble(content::WebContents* web_contents, |
189 const gfx::Rect& rect) OVERRIDE; | 189 const gfx::Rect& rect) OVERRIDE; |
190 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; | 190 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
191 | 191 |
192 // TabStripModelObserver overrides. | 192 // TabStripModelObserver overrides. |
193 virtual void TabInsertedAt(TabContentsWrapper* contents, | 193 virtual void TabInsertedAt(TabContentsWrapper* contents, |
194 int index, | 194 int index, |
195 bool foreground) OVERRIDE; | 195 bool foreground) OVERRIDE; |
196 | 196 |
197 // content::NotificationObserver overrides. | 197 // content::NotificationObserver overrides. |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 | 323 |
324 // Indicates whether the panel app icon is visible in the taskbar. | 324 // Indicates whether the panel app icon is visible in the taskbar. |
325 bool app_icon_visible_; | 325 bool app_icon_visible_; |
326 | 326 |
327 content::NotificationRegistrar registrar_; | 327 content::NotificationRegistrar registrar_; |
328 | 328 |
329 DISALLOW_COPY_AND_ASSIGN(Panel); | 329 DISALLOW_COPY_AND_ASSIGN(Panel); |
330 }; | 330 }; |
331 | 331 |
332 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 332 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |