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

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

Issue 8110003: Show avatar menu from NTP4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac build Created 9 years, 2 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/gtk/browser_window_gtk.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) 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
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 const gfx::Rect& rect) 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Stores the full height of the panel so we can restore it after it's 232 // Stores the full height of the panel so we can restore it after it's
231 // been minimized. 233 // been minimized.
232 int restored_height_; 234 int restored_height_;
233 235
234 NotificationRegistrar registrar_; 236 NotificationRegistrar registrar_;
235 237
236 DISALLOW_COPY_AND_ASSIGN(Panel); 238 DISALLOW_COPY_AND_ASSIGN(Panel);
237 }; 239 };
238 240
239 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 241 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/panels/panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698