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

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

Issue 6155003: Changes instant so that the newly created tab has a new id. Doing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/tabs/tab_strip_model_unittest.cc ('k') | chrome/browser/ui/browser.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after
699 int index); 699 int index);
700 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 700 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
701 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index); 701 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index);
702 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 702 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
703 TabContentsWrapper* new_contents, 703 TabContentsWrapper* new_contents,
704 int index, 704 int index,
705 bool user_gesture); 705 bool user_gesture);
706 virtual void TabMoved(TabContentsWrapper* contents, 706 virtual void TabMoved(TabContentsWrapper* contents,
707 int from_index, 707 int from_index,
708 int to_index); 708 int to_index);
709 virtual void TabReplacedAt(TabContentsWrapper* old_contents, 709 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
710 TabContentsWrapper* old_contents,
710 TabContentsWrapper* new_contents, 711 TabContentsWrapper* new_contents,
711 int index); 712 int index);
712 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); 713 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
713 virtual void TabStripEmpty(); 714 virtual void TabStripEmpty();
714 715
715 // Figure out if there are tabs that have beforeunload handlers. 716 // Figure out if there are tabs that have beforeunload handlers.
716 bool TabsNeedBeforeUnloadFired(); 717 bool TabsNeedBeforeUnloadFired();
717 718
718 private: 719 private:
719 FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups); 720 FRIEND_TEST_ALL_PREFIXES(BrowserTest, NoTabsInPopups);
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 // and we install ourselves as an observer. 1129 // and we install ourselves as an observer.
1129 TabRestoreService* tab_restore_service_; 1130 TabRestoreService* tab_restore_service_;
1130 1131
1131 scoped_ptr<InstantController> instant_; 1132 scoped_ptr<InstantController> instant_;
1132 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1133 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1133 1134
1134 DISALLOW_COPY_AND_ASSIGN(Browser); 1135 DISALLOW_COPY_AND_ASSIGN(Browser);
1135 }; 1136 };
1136 1137
1137 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1138 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tabs/tab_strip_model_unittest.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698