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

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

Issue 155441: Nukes the 3 arg TabMoved variant in favor of the 4 arg variant.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_EXTENSION_BROWSER_EVENT_ROUTER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 25 matching lines...) Expand all
36 virtual void OnBrowserSetLastActive(const Browser* browser); 36 virtual void OnBrowserSetLastActive(const Browser* browser);
37 37
38 // TabStripModelObserver 38 // TabStripModelObserver
39 void TabInsertedAt(TabContents* contents, int index, bool foreground); 39 void TabInsertedAt(TabContents* contents, int index, bool foreground);
40 void TabClosingAt(TabContents* contents, int index); 40 void TabClosingAt(TabContents* contents, int index);
41 void TabDetachedAt(TabContents* contents, int index); 41 void TabDetachedAt(TabContents* contents, int index);
42 void TabSelectedAt(TabContents* old_contents, 42 void TabSelectedAt(TabContents* old_contents,
43 TabContents* new_contents, 43 TabContents* new_contents,
44 int index, 44 int index,
45 bool user_gesture); 45 bool user_gesture);
46 void TabMoved(TabContents* contents, int from_index, int to_index); 46 void TabMoved(TabContents* contents, int from_index, int to_index,
47 bool pinned_state_changed);
47 void TabChangedAt(TabContents* contents, int index, bool loading_only); 48 void TabChangedAt(TabContents* contents, int index, bool loading_only);
48 void TabStripEmpty(); 49 void TabStripEmpty();
49 50
50 // PageActions. 51 // PageActions.
51 void PageActionExecuted(Profile* profile, 52 void PageActionExecuted(Profile* profile,
52 std::string page_action_id, 53 std::string page_action_id,
53 int tab_id, 54 int tab_id,
54 std::string url); 55 std::string url);
55 56
56 // NotificationObserver. 57 // NotificationObserver.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 116
116 GURL url_; 117 GURL url_;
117 }; 118 };
118 119
119 std::map<int, TabEntry> tab_entries_; 120 std::map<int, TabEntry> tab_entries_;
120 121
121 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); 122 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter);
122 }; 123 };
123 124
124 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ 125 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_strip_model_observer_bridge.mm ('k') | chrome/browser/extensions/extension_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698