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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 17382005: Unbreak tabs.onRemove extension API in face of fast tab closure Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't modify content Created 7 years, 6 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 const content::PasswordForm& form, 177 const content::PasswordForm& form,
178 autofill::PasswordGenerator* password_generator) OVERRIDE; 178 autofill::PasswordGenerator* password_generator) OVERRIDE;
179 179
180 // Overridden from NotificationObserver: 180 // Overridden from NotificationObserver:
181 virtual void Observe(int type, 181 virtual void Observe(int type,
182 const content::NotificationSource& source, 182 const content::NotificationSource& source,
183 const content::NotificationDetails& details) OVERRIDE; 183 const content::NotificationDetails& details) OVERRIDE;
184 184
185 // Overridden from TabStripModelObserver: 185 // Overridden from TabStripModelObserver:
186 virtual void TabDetachedAt(content::WebContents* contents, 186 virtual void TabDetachedAt(content::WebContents* contents,
187 int index) OVERRIDE; 187 int index,
188 bool closing_all) OVERRIDE;
188 virtual void ActiveTabChanged(content::WebContents* old_contents, 189 virtual void ActiveTabChanged(content::WebContents* old_contents,
189 content::WebContents* new_contents, 190 content::WebContents* new_contents,
190 int index, 191 int index,
191 int reason) OVERRIDE; 192 int reason) OVERRIDE;
192 193
193 // Overridden from ActiveWindowWatcherXObserver. 194 // Overridden from ActiveWindowWatcherXObserver.
194 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; 195 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE;
195 196
196 // Overridden from InfoBarContainer::Delegate: 197 // Overridden from InfoBarContainer::Delegate:
197 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE; 198 virtual SkColor GetInfoBarSeparatorColor() const OVERRIDE;
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 579 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
579 580
580 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 581 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
581 582
582 content::NotificationRegistrar registrar_; 583 content::NotificationRegistrar registrar_;
583 584
584 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 585 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
585 }; 586 };
586 587
587 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 588 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698