OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 160 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
161 const gfx::Rect& bounds) OVERRIDE; | 161 const gfx::Rect& bounds) OVERRIDE; |
162 virtual FindBar* CreateFindBar() OVERRIDE; | 162 virtual FindBar* CreateFindBar() OVERRIDE; |
163 #if defined(OS_CHROMEOS) | 163 #if defined(OS_CHROMEOS) |
164 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 164 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
165 #endif | 165 #endif |
166 virtual void UpdatePreferredSize(TabContents* tab_contents, | 166 virtual void UpdatePreferredSize(TabContents* tab_contents, |
167 const gfx::Size& pref_size) OVERRIDE; | 167 const gfx::Size& pref_size) OVERRIDE; |
168 virtual void ShowAvatarBubble(TabContents* tab_contents, | 168 virtual void ShowAvatarBubble(TabContents* tab_contents, |
169 const gfx::Rect& rect) OVERRIDE; | 169 const gfx::Rect& rect) OVERRIDE; |
| 170 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE; |
170 | 171 |
171 // content::NotificationObserver overrides. | 172 // content::NotificationObserver overrides. |
172 virtual void Observe(int type, | 173 virtual void Observe(int type, |
173 const content::NotificationSource& source, | 174 const content::NotificationSource& source, |
174 const content::NotificationDetails& details) OVERRIDE; | 175 const content::NotificationDetails& details) OVERRIDE; |
175 | 176 |
176 // Construct a native panel BrowserWindow implementation for the specified | 177 // Construct a native panel BrowserWindow implementation for the specified |
177 // |browser|. | 178 // |browser|. |
178 static NativePanel* CreateNativePanel(Browser* browser, | 179 static NativePanel* CreateNativePanel(Browser* browser, |
179 Panel* panel, | 180 Panel* panel, |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 // Stores the full height of the panel so we can restore it after it's | 238 // Stores the full height of the panel so we can restore it after it's |
238 // been minimized. | 239 // been minimized. |
239 int restored_height_; | 240 int restored_height_; |
240 | 241 |
241 content::NotificationRegistrar registrar_; | 242 content::NotificationRegistrar registrar_; |
242 | 243 |
243 DISALLOW_COPY_AND_ASSIGN(Panel); | 244 DISALLOW_COPY_AND_ASSIGN(Panel); |
244 }; | 245 }; |
245 | 246 |
246 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 247 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |