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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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_ |
OLD | NEW |