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

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

Issue 7043020: Multi-tab selection: Renaming TabStripModelObserver::TabSelectedAt to ActiveTabChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updating TODO comments Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // BrowserList::Observer). 57 // BrowserList::Observer).
58 void OnBrowserWindowReady(const Browser* browser); 58 void OnBrowserWindowReady(const Browser* browser);
59 59
60 // TabStripModelObserver 60 // TabStripModelObserver
61 virtual void TabInsertedAt(TabContentsWrapper* contents, int index, 61 virtual void TabInsertedAt(TabContentsWrapper* contents, int index,
62 bool foreground); 62 bool foreground);
63 virtual void TabClosingAt(TabStripModel* tab_strip_model, 63 virtual void TabClosingAt(TabStripModel* tab_strip_model,
64 TabContentsWrapper* contents, 64 TabContentsWrapper* contents,
65 int index); 65 int index);
66 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 66 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
67 virtual void TabSelectedAt(TabContentsWrapper* old_contents, 67 virtual void ActiveTabChanged(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, int from_index, 71 virtual void TabMoved(TabContentsWrapper* contents, int from_index,
72 int to_index); 72 int to_index);
73 virtual void TabChangedAt(TabContentsWrapper* contents, int index, 73 virtual void TabChangedAt(TabContentsWrapper* contents, int index,
74 TabChangeType change_type); 74 TabChangeType change_type);
75 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 75 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
76 TabContentsWrapper* old_contents, 76 TabContentsWrapper* old_contents,
77 TabContentsWrapper* new_contents, 77 TabContentsWrapper* new_contents,
78 int index); 78 int index);
79 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index); 79 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
80 virtual void TabStripEmpty(); 80 virtual void TabStripEmpty();
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 int focused_window_id_; 179 int focused_window_id_;
180 180
181 // The main profile (non-OTR) profile which will be used to send events not 181 // The main profile (non-OTR) profile which will be used to send events not
182 // associated with any browser. 182 // associated with any browser.
183 Profile* profile_; 183 Profile* profile_;
184 184
185 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); 185 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter);
186 }; 186 };
187 187
188 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ 188 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/aeropeek_manager.cc ('k') | chrome/browser/extensions/extension_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698