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

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

Issue 11359201: Remove TabContents from TabStripModelObserver::TabReplacedAt. (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
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(content::WebContents* contents, 58 virtual void TabMoved(content::WebContents* contents,
59 int from_index, 59 int from_index,
60 int to_index) OVERRIDE; 60 int to_index) OVERRIDE;
61 virtual void TabChangedAt(content::WebContents* contents, 61 virtual void TabChangedAt(content::WebContents* contents,
62 int index, 62 int index,
63 TabChangeType change_type) OVERRIDE; 63 TabChangeType change_type) OVERRIDE;
64 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 64 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
65 TabContents* old_contents, 65 content::WebContents* old_contents,
66 TabContents* new_contents, 66 content::WebContents* new_contents,
67 int index) OVERRIDE; 67 int index) OVERRIDE;
68 virtual void TabPinnedStateChanged(content::WebContents* contents, 68 virtual void TabPinnedStateChanged(content::WebContents* contents,
69 int index) OVERRIDE; 69 int index) OVERRIDE;
70 virtual void TabStripEmpty() OVERRIDE; 70 virtual void TabStripEmpty() OVERRIDE;
71 71
72 // Fires the onClicked event for page_action. 72 // Fires the onClicked event for page_action.
73 void PageActionExecuted(Profile* profile, 73 void PageActionExecuted(Profile* profile,
74 const ExtensionAction& page_action, 74 const ExtensionAction& page_action,
75 int tab_id, 75 int tab_id,
76 const std::string& url, 76 const std::string& url,
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 203
204 // The main profile that owns this event router. 204 // The main profile that owns this event router.
205 Profile* profile_; 205 Profile* profile_;
206 206
207 DISALLOW_COPY_AND_ASSIGN(BrowserEventRouter); 207 DISALLOW_COPY_AND_ASSIGN(BrowserEventRouter);
208 }; 208 };
209 209
210 } // namespace extensions 210 } // namespace extensions
211 211
212 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_ 212 #endif // CHROME_BROWSER_EXTENSIONS_BROWSER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/web_navigation/web_navigation_api.cc ('k') | chrome/browser/extensions/browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698