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

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

Issue 145463002: Extensions: Send the tab id to platform apps. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 6 years, 10 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_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_
6 #define CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // them. 302 // them.
303 std::map<std::string, BindingInstaller> lazy_bindings_map_; 303 std::map<std::string, BindingInstaller> lazy_bindings_map_;
304 304
305 // Sends API requests to the extension host. 305 // Sends API requests to the extension host.
306 scoped_ptr<RequestSender> request_sender_; 306 scoped_ptr<RequestSender> request_sender_;
307 307
308 // The platforms system font family and size; 308 // The platforms system font family and size;
309 std::string system_font_family_; 309 std::string system_font_family_;
310 std::string system_font_size_; 310 std::string system_font_size_;
311 311
312 // Mapping of port IDs to tabs. If there is no tab, the value would be -1.
313 std::map<int, int> port_to_tab_id_map_;
314
312 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 315 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
313 }; 316 };
314 317
315 } // namespace extensions 318 } // namespace extensions
316 319
317 #endif // CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_ 320 #endif // CHROME_RENDERER_EXTENSIONS_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698