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

Side by Side Diff: chrome/renderer/extensions/extension_dispatcher.h

Issue 10694108: Make EventBindings use static routed methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 // them. 256 // them.
257 std::map<std::string, BindingInstaller> lazy_bindings_map_; 257 std::map<std::string, BindingInstaller> lazy_bindings_map_;
258 258
259 // Sends API requests to the extension host. 259 // Sends API requests to the extension host.
260 scoped_ptr<ExtensionRequestSender> request_sender_; 260 scoped_ptr<ExtensionRequestSender> request_sender_;
261 261
262 // The current channel. From VersionInfo::GetChannel(). 262 // The current channel. From VersionInfo::GetChannel().
263 // TODO(aa): Remove when we can restrict non-permission APIs to dev-only. 263 // TODO(aa): Remove when we can restrict non-permission APIs to dev-only.
264 int chrome_channel_; 264 int chrome_channel_;
265 265
266 // Routes events to the appropriate listener taking into consideration event
267 // filters.
268 scoped_ptr<extensions::EventFilter> event_filter_;
269
270 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher); 266 DISALLOW_COPY_AND_ASSIGN(ExtensionDispatcher);
271 }; 267 };
272 268
273 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_ 269 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/event_bindings.cc ('k') | chrome/renderer/extensions/extension_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698