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

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

Issue 7192016: chrome.experimental.downloads (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: merged db_handle, id; onCreated, onErased Created 9 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) 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 // The profile the currently focused window belongs to; either the main or 207 // The profile the currently focused window belongs to; either the main or
208 // incognito profile or NULL (none of the above). We remember this in order 208 // incognito profile or NULL (none of the above). We remember this in order
209 // to correctly handle focus changes between non-OTR and OTR windows. 209 // to correctly handle focus changes between non-OTR and OTR windows.
210 Profile* focused_profile_; 210 Profile* focused_profile_;
211 211
212 // The currently focused window. We keep this so as to avoid sending multiple 212 // The currently focused window. We keep this so as to avoid sending multiple
213 // windows.onFocusChanged events with the same windowId. 213 // windows.onFocusChanged events with the same windowId.
214 int focused_window_id_; 214 int focused_window_id_;
215 215
216 class DownloadManagerObserver;
217 friend class DownloadManagerObserver;
218 scoped_ptr<DownloadManagerObserver> download_manager_observer_;
219
216 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter); 220 DISALLOW_COPY_AND_ASSIGN(ExtensionBrowserEventRouter);
217 }; 221 };
218 222
219 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_ 223 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSER_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/download/simple_download_item_fields.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