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

Side by Side Diff: chrome/renderer/extensions/event_bindings.cc

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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 #include "chrome/renderer/extensions/event_bindings.h" 5 #include "chrome/renderer/extensions/event_bindings.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 22 matching lines...) Expand all
33 #include "extensions/common/view_type.h" 33 #include "extensions/common/view_type.h"
34 #include "grit/renderer_resources.h" 34 #include "grit/renderer_resources.h"
35 #include "third_party/WebKit/public/platform/WebURL.h" 35 #include "third_party/WebKit/public/platform/WebURL.h"
36 #include "third_party/WebKit/public/platform/WebURLRequest.h" 36 #include "third_party/WebKit/public/platform/WebURLRequest.h"
37 #include "third_party/WebKit/public/web/WebDocument.h" 37 #include "third_party/WebKit/public/web/WebDocument.h"
38 #include "third_party/WebKit/public/web/WebFrame.h" 38 #include "third_party/WebKit/public/web/WebFrame.h"
39 #include "third_party/WebKit/public/web/WebView.h" 39 #include "third_party/WebKit/public/web/WebView.h"
40 #include "url/gurl.h" 40 #include "url/gurl.h"
41 #include "v8/include/v8.h" 41 #include "v8/include/v8.h"
42 42
43 using WebKit::WebFrame; 43 using blink::WebFrame;
44 using WebKit::WebURL; 44 using blink::WebURL;
45 using content::RenderThread; 45 using content::RenderThread;
46 46
47 namespace extensions { 47 namespace extensions {
48 48
49 namespace { 49 namespace {
50 50
51 // A map of event names to the number of contexts listening to that event. 51 // A map of event names to the number of contexts listening to that event.
52 // We notify the browser about event listeners when we transition between 0 52 // We notify the browser about event listeners when we transition between 0
53 // and 1. 53 // and 1.
54 typedef std::map<std::string, int> EventListenerCounts; 54 typedef std::map<std::string, int> EventListenerCounts;
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 323
324 } // namespace 324 } // namespace
325 325
326 // static 326 // static
327 ChromeV8Extension* EventBindings::Create(Dispatcher* dispatcher, 327 ChromeV8Extension* EventBindings::Create(Dispatcher* dispatcher,
328 ChromeV8Context* context) { 328 ChromeV8Context* context) {
329 return new ExtensionImpl(dispatcher, context); 329 return new ExtensionImpl(dispatcher, context);
330 } 330 }
331 331
332 } // namespace extensions 332 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/dom_activity_logger.cc ('k') | chrome/renderer/extensions/extension_groups.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698