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

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

Issue 4694008: Make pink's TabContentsWrapper change compile on Windows.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 gfx::NativeView focused_now); 52 gfx::NativeView focused_now);
53 #elif defined(TOOLKIT_GTK) 53 #elif defined(TOOLKIT_GTK)
54 virtual void ActiveWindowChanged(GdkWindow* active_window); 54 virtual void ActiveWindowChanged(GdkWindow* active_window);
55 #endif 55 #endif
56 56
57 // Called from Observe() on BROWSER_WINDOW_READY (not a part of 57 // Called from Observe() on BROWSER_WINDOW_READY (not a part of
58 // BrowserList::Observer). 58 // BrowserList::Observer).
59 void OnBrowserWindowReady(const Browser* browser); 59 void OnBrowserWindowReady(const Browser* browser);
60 60
61 // TabStripModelObserver 61 // TabStripModelObserver
62 virtual void TabInsertedAt(TabContents* contents, int index, bool foreground); 62 virtual void TabInsertedAt(TabContentsWrapper* contents, int index,
63 bool foreground);
63 virtual void TabClosingAt(TabStripModel* tab_strip_model, 64 virtual void TabClosingAt(TabStripModel* tab_strip_model,
64 TabContents* contents, 65 TabContentsWrapper* contents,
65 int index); 66 int index);
66 virtual void TabDetachedAt(TabContents* contents, int index); 67 virtual void TabDetachedAt(TabContentsWrapper* contents, int index);
67 virtual void TabSelectedAt(TabContents* old_contents, 68 virtual void TabSelectedAt(TabContentsWrapper* old_contents,
68 TabContents* new_contents, 69 TabContentsWrapper* new_contents,
69 int index, 70 int index,
70 bool user_gesture); 71 bool user_gesture);
71 virtual void TabMoved(TabContents* contents, int from_index, int to_index); 72 virtual void TabMoved(TabContentsWrapper* contents, int from_index,
72 virtual void TabChangedAt(TabContents* contents, int index, 73 int to_index);
74 virtual void TabChangedAt(TabContentsWrapper* contents, int index,
73 TabChangeType change_type); 75 TabChangeType change_type);
74 virtual void TabReplacedAt(TabContents* old_contents, 76 virtual void TabReplacedAt(TabContentsWrapper* old_contents,
75 TabContents* new_contents, 77 TabContentsWrapper* new_contents,
76 int index); 78 int index);
77 virtual void TabPinnedStateChanged(TabContents* contents, int index); 79 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
78 virtual void TabStripEmpty(); 80 virtual void TabStripEmpty();
79 81
80 // Page Action execute event. 82 // Page Action execute event.
81 void PageActionExecuted(Profile* profile, 83 void PageActionExecuted(Profile* profile,
82 const std::string& extension_id, 84 const std::string& extension_id,
83 const std::string& page_action_id, 85 const std::string& page_action_id,
84 int tab_id, 86 int tab_id,
85 const std::string& url, 87 const std::string& url,
86 int button); 88 int button);
87 // Browser Actions execute event. 89 // Browser Actions execute event.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 int focused_window_id_; 183 int focused_window_id_;
182 184
183 // The main profile (non-OTR) profile which will be used to send events not 185 // The main profile (non-OTR) profile which will be used to send events not
184 // associated with any browser. 186 // associated with any browser.
185 Profile* profile_; 187 Profile* profile_;
186 188
187 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); 189 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter);
188 }; 190 };
189 191
190 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ 192 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698