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

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

Issue 2821011: Removes phantom tabs. (Closed)
Patch Set: Created 10 years, 6 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual void TabInsertedAt(TabContents* contents, int index, bool foreground); 61 virtual void TabInsertedAt(TabContents* contents, int index, bool foreground);
62 virtual void TabClosingAt(TabContents* contents, int index); 62 virtual void TabClosingAt(TabContents* contents, int index);
63 virtual void TabDetachedAt(TabContents* contents, int index); 63 virtual void TabDetachedAt(TabContents* contents, int index);
64 virtual void TabSelectedAt(TabContents* old_contents, 64 virtual void TabSelectedAt(TabContents* old_contents,
65 TabContents* new_contents, 65 TabContents* new_contents,
66 int index, 66 int index,
67 bool user_gesture); 67 bool user_gesture);
68 virtual void TabMoved(TabContents* contents, int from_index, int to_index); 68 virtual void TabMoved(TabContents* contents, int from_index, int to_index);
69 virtual void TabChangedAt(TabContents* contents, int index, 69 virtual void TabChangedAt(TabContents* contents, int index,
70 TabChangeType change_type); 70 TabChangeType change_type);
71 virtual void TabReplacedAt(TabContents* old_contents,
72 TabContents* new_contents, int index);
73 virtual void TabStripEmpty(); 71 virtual void TabStripEmpty();
74 72
75 // Page Action execute event. 73 // Page Action execute event.
76 void PageActionExecuted(Profile* profile, 74 void PageActionExecuted(Profile* profile,
77 const std::string& extension_id, 75 const std::string& extension_id,
78 const std::string& page_action_id, 76 const std::string& page_action_id,
79 int tab_id, 77 int tab_id,
80 const std::string& url, 78 const std::string& url,
81 int button); 79 int button);
82 // Browser Actions execute event. 80 // Browser Actions execute event.
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int focused_window_id_; 161 int focused_window_id_;
164 162
165 // The main profile (non-OTR) profile which will be used to send events not 163 // The main profile (non-OTR) profile which will be used to send events not
166 // associated with any browser. 164 // associated with any browser.
167 Profile* profile_; 165 Profile* profile_;
168 166
169 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); 167 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter);
170 }; 168 };
171 169
172 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ 170 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_window_controller.h ('k') | chrome/browser/extensions/extension_browser_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698