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

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

Issue 8356028: Add shortcut to show avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build error 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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