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

Side by Side Diff: chrome/browser/extensions/browser_event_router.h

Issue 11364196: Remove TabContents from TabStripModelObserver::ActiveTabChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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 | « no previous file | chrome/browser/extensions/browser_event_router.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) 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_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 30 matching lines...) Expand all
41 virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE; 41 virtual void OnBrowserSetLastActive(Browser* browser) OVERRIDE;
42 42
43 // TabStripModelObserver 43 // TabStripModelObserver
44 virtual void TabInsertedAt(content::WebContents* contents, int index, 44 virtual void TabInsertedAt(content::WebContents* contents, int index,
45 bool active) OVERRIDE; 45 bool active) OVERRIDE;
46 virtual void TabClosingAt(TabStripModel* tab_strip_model, 46 virtual void TabClosingAt(TabStripModel* tab_strip_model,
47 content::WebContents* contents, 47 content::WebContents* contents,
48 int index) OVERRIDE; 48 int index) OVERRIDE;
49 virtual void TabDetachedAt(content::WebContents* contents, 49 virtual void TabDetachedAt(content::WebContents* contents,
50 int index) OVERRIDE; 50 int index) OVERRIDE;
51 virtual void ActiveTabChanged(TabContents* old_contents, 51 virtual void ActiveTabChanged(content::WebContents* old_contents,
52 TabContents* new_contents, 52 content::WebContents* new_contents,
53 int index, 53 int index,
54 bool user_gesture) OVERRIDE; 54 bool user_gesture) OVERRIDE;
55 virtual void TabSelectionChanged( 55 virtual void TabSelectionChanged(
56 TabStripModel* tab_strip_model, 56 TabStripModel* tab_strip_model,
57 const TabStripSelectionModel& old_model) OVERRIDE; 57 const TabStripSelectionModel& old_model) OVERRIDE;
58 virtual void TabMoved(TabContents* contents, int from_index, 58 virtual void TabMoved(TabContents* contents, int from_index,
59 int to_index) OVERRIDE; 59 int to_index) OVERRIDE;
60 virtual void TabChangedAt(TabContents* contents, int index, 60 virtual void TabChangedAt(TabContents* contents, int index,
61 TabChangeType change_type) OVERRIDE; 61 TabChangeType change_type) OVERRIDE;
62 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 62 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 // The main profile that owns this event router. 202 // The main profile that owns this event router.
203 Profile* profile_; 203 Profile* profile_;
204 204
205 DISALLOW_COPY_AND_ASSIGN(BrowserEventRouter); 205 DISALLOW_COPY_AND_ASSIGN(BrowserEventRouter);
206 }; 206 };
207 207
208 } // namespace extensions 208 } // namespace extensions
209 209
210 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ 210 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698