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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.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, 1 month 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_titlebar.h ('k') | chrome/browser/ui/gtk/browser_window_gtk.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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 virtual void Copy(); 146 virtual void Copy();
147 virtual void Paste(); 147 virtual void Paste();
148 virtual void ShowInstant(TabContentsWrapper* preview); 148 virtual void ShowInstant(TabContentsWrapper* preview);
149 virtual void HideInstant(); 149 virtual void HideInstant();
150 virtual gfx::Rect GetInstantBounds(); 150 virtual gfx::Rect GetInstantBounds();
151 virtual WindowOpenDisposition GetDispositionForPopupBounds( 151 virtual WindowOpenDisposition GetDispositionForPopupBounds(
152 const gfx::Rect& bounds); 152 const gfx::Rect& bounds);
153 virtual FindBar* CreateFindBar() OVERRIDE; 153 virtual FindBar* CreateFindBar() OVERRIDE;
154 virtual void ShowAvatarBubble(TabContents* tab_contents, 154 virtual void ShowAvatarBubble(TabContents* tab_contents,
155 const gfx::Rect& rect) OVERRIDE; 155 const gfx::Rect& rect) OVERRIDE;
156 virtual void ShowAvatarBubbleFromAvatarButton() OVERRIDE;
156 157
157 // Overridden from NotificationObserver: 158 // Overridden from NotificationObserver:
158 virtual void Observe(int type, 159 virtual void Observe(int type,
159 const content::NotificationSource& source, 160 const content::NotificationSource& source,
160 const content::NotificationDetails& details); 161 const content::NotificationDetails& details);
161 162
162 // Overridden from TabStripModelObserver: 163 // Overridden from TabStripModelObserver:
163 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 164 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
164 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, 165 virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
165 TabContentsWrapper* new_contents, 166 TabContentsWrapper* new_contents,
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // be called. This should only be enabled in tests where the debounce timeout 523 // be called. This should only be enabled in tests where the debounce timeout
523 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 524 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
524 // autocomplete popup before the results can be read) and the final window 525 // autocomplete popup before the results can be read) and the final window
525 // position is unimportant. 526 // position is unimportant.
526 bool debounce_timer_disabled_; 527 bool debounce_timer_disabled_;
527 528
528 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 529 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
529 }; 530 };
530 531
531 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 532 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_titlebar.h ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698