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

Side by Side Diff: chrome/browser/ui/browser.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 const content::OpenURLParams& params) OVERRIDE; 403 const content::OpenURLParams& params) OVERRIDE;
404 404
405 // Overridden from TabStripModelObserver: 405 // Overridden from TabStripModelObserver:
406 virtual void TabInsertedAt(content::WebContents* contents, 406 virtual void TabInsertedAt(content::WebContents* contents,
407 int index, 407 int index,
408 bool foreground) OVERRIDE; 408 bool foreground) OVERRIDE;
409 virtual void TabClosingAt(TabStripModel* tab_strip_model, 409 virtual void TabClosingAt(TabStripModel* tab_strip_model,
410 content::WebContents* contents, 410 content::WebContents* contents,
411 int index) OVERRIDE; 411 int index) OVERRIDE;
412 virtual void TabDetachedAt(content::WebContents* contents, 412 virtual void TabDetachedAt(content::WebContents* contents,
413 int index) OVERRIDE; 413 int index,
414 bool closing_all) OVERRIDE;
414 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; 415 virtual void TabDeactivated(content::WebContents* contents) OVERRIDE;
415 virtual void ActiveTabChanged(content::WebContents* old_contents, 416 virtual void ActiveTabChanged(content::WebContents* old_contents,
416 content::WebContents* new_contents, 417 content::WebContents* new_contents,
417 int index, 418 int index,
418 int reason) OVERRIDE; 419 int reason) OVERRIDE;
419 virtual void TabMoved(content::WebContents* contents, 420 virtual void TabMoved(content::WebContents* contents,
420 int from_index, 421 int from_index,
421 int to_index) OVERRIDE; 422 int to_index) OVERRIDE;
422 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 423 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
423 content::WebContents* old_contents, 424 content::WebContents* old_contents,
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 911
911 scoped_ptr<chrome::BrowserCommandController> command_controller_; 912 scoped_ptr<chrome::BrowserCommandController> command_controller_;
912 913
913 // True if the browser window has been shown at least once. 914 // True if the browser window has been shown at least once.
914 bool window_has_shown_; 915 bool window_has_shown_;
915 916
916 DISALLOW_COPY_AND_ASSIGN(Browser); 917 DISALLOW_COPY_AND_ASSIGN(Browser);
917 }; 918 };
918 919
919 #endif // CHROME_BROWSER_UI_BROWSER_H_ 920 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698