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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void Copy(); 141 virtual void Copy();
142 virtual void Paste(); 142 virtual void Paste();
143 virtual void ToggleTabStripMode(); 143 virtual void ToggleTabStripMode();
144 virtual void PrepareForInstant(); 144 virtual void PrepareForInstant();
145 virtual void ShowInstant(TabContentsWrapper* preview); 145 virtual void ShowInstant(TabContentsWrapper* preview);
146 virtual void HideInstant(bool instant_is_active); 146 virtual void HideInstant(bool instant_is_active);
147 virtual gfx::Rect GetInstantBounds(); 147 virtual gfx::Rect GetInstantBounds();
148 virtual WindowOpenDisposition GetDispositionForPopupBounds( 148 virtual WindowOpenDisposition GetDispositionForPopupBounds(
149 const gfx::Rect& bounds); 149 const gfx::Rect& bounds);
150 virtual FindBar* CreateFindBar() OVERRIDE; 150 virtual FindBar* CreateFindBar() OVERRIDE;
151 virtual void ShowAvatarBubble(TabContents* tab_contents,
152 const gfx::Rect& rect) OVERRIDE;
151 153
152 // Overridden from NotificationObserver: 154 // Overridden from NotificationObserver:
153 virtual void Observe(int type, 155 virtual void Observe(int type,
154 const NotificationSource& source, 156 const NotificationSource& source,
155 const NotificationDetails& details); 157 const NotificationDetails& details);
156 158
157 // Overridden from TabStripModelObserver: 159 // Overridden from TabStripModelObserver:
158 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 160 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
159 virtual void ActiveTabChanged(TabContentsWrapper* old_contents, 161 virtual void ActiveTabChanged(TabContentsWrapper* old_contents,
160 TabContentsWrapper* new_contents, 162 TabContentsWrapper* new_contents,
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 // 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
522 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the 524 // introduces timing issues (e.g. in OmniBoxApiTest it dismisses the
523 // 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
524 // position is unimportant. 526 // position is unimportant.
525 bool debounce_timer_disabled_; 527 bool debounce_timer_disabled_;
526 528
527 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 529 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
528 }; 530 };
529 531
530 #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/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698