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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 virtual void HideInstant(bool instant_is_active) OVERRIDE; | 153 virtual void HideInstant(bool instant_is_active) OVERRIDE; |
154 virtual gfx::Rect GetInstantBounds() OVERRIDE; | 154 virtual gfx::Rect GetInstantBounds() OVERRIDE; |
155 virtual WindowOpenDisposition GetDispositionForPopupBounds( | 155 virtual WindowOpenDisposition GetDispositionForPopupBounds( |
156 const gfx::Rect& bounds) OVERRIDE; | 156 const gfx::Rect& bounds) OVERRIDE; |
157 virtual FindBar* CreateFindBar() OVERRIDE; | 157 virtual FindBar* CreateFindBar() OVERRIDE; |
158 #if defined(OS_CHROMEOS) | 158 #if defined(OS_CHROMEOS) |
159 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; | 159 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) OVERRIDE; |
160 #endif | 160 #endif |
161 virtual void UpdatePreferredSize(TabContents* tab_contents, | 161 virtual void UpdatePreferredSize(TabContents* tab_contents, |
162 const gfx::Size& pref_size) OVERRIDE; | 162 const gfx::Size& pref_size) OVERRIDE; |
| 163 virtual void ShowAvatarBubble(TabContents* tab_contents, |
| 164 int x, int y) OVERRIDE; |
163 | 165 |
164 // NotificationObserver overrides. | 166 // NotificationObserver overrides. |
165 virtual void Observe(int type, | 167 virtual void Observe(int type, |
166 const NotificationSource& source, | 168 const NotificationSource& source, |
167 const NotificationDetails& details) OVERRIDE; | 169 const NotificationDetails& details) OVERRIDE; |
168 | 170 |
169 // Construct a native panel BrowserWindow implementation for the specified | 171 // Construct a native panel BrowserWindow implementation for the specified |
170 // |browser|. | 172 // |browser|. |
171 static NativePanel* CreateNativePanel(Browser* browser, | 173 static NativePanel* CreateNativePanel(Browser* browser, |
172 Panel* panel, | 174 Panel* panel, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 NativePanel* native_panel_; // Weak, owns us. | 228 NativePanel* native_panel_; // Weak, owns us. |
227 | 229 |
228 ExpansionState expansion_state_; | 230 ExpansionState expansion_state_; |
229 | 231 |
230 NotificationRegistrar registrar_; | 232 NotificationRegistrar registrar_; |
231 | 233 |
232 DISALLOW_COPY_AND_ASSIGN(Panel); | 234 DISALLOW_COPY_AND_ASSIGN(Panel); |
233 }; | 235 }; |
234 | 236 |
235 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ | 237 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ |
OLD | NEW |