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

Side by Side Diff: chrome/browser/tabs/default_tab_handler.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
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_TABS_DEFAULT_TAB_HANDLER_H_ 5 #ifndef CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
6 #define CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ 6 #define CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/tabs/tab_handler.h" 10 #include "chrome/browser/tabs/tab_handler.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 int index); 64 int index);
65 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 65 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
66 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index); 66 virtual void TabDeselectedAt(TabContentsWrapper* contents, int index);
67 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 67 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
68 TabContentsWrapper* new_contents, 68 TabContentsWrapper* new_contents,
69 int index, 69 int index,
70 bool user_gesture); 70 bool user_gesture);
71 virtual void TabMoved(TabContentsWrapper* contents, 71 virtual void TabMoved(TabContentsWrapper* contents,
72 int from_index, 72 int from_index,
73 int to_index); 73 int to_index);
74 virtual void TabReplacedAt(TabContentsWrapper* old_contents, 74 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
75 TabContentsWrapper* old_contents,
75 TabContentsWrapper* new_contents, 76 TabContentsWrapper* new_contents,
76 int index); 77 int index);
77 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); 78 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
78 virtual void TabStripEmpty(); 79 virtual void TabStripEmpty();
79 80
80 private: 81 private:
81 TabHandlerDelegate* delegate_; 82 TabHandlerDelegate* delegate_;
82 83
83 scoped_ptr<TabStripModel> model_; 84 scoped_ptr<TabStripModel> model_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler); 86 DISALLOW_COPY_AND_ASSIGN(DefaultTabHandler);
86 }; 87 };
87 88
88 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_ 89 #endif // CHROME_BROWSER_TABS_DEFAULT_TAB_HANDLER_H_
89 90
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/navigation_controller_unittest.cc ('k') | chrome/browser/tabs/default_tab_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698