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

Side by Side Diff: content/renderer/mock_content_renderer_client.cc

Issue 9386001: Implement a module system for the extension bindings JS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 #include "content/renderer/mock_content_renderer_client.h" 5 #include "content/renderer/mock_content_renderer_client.h"
6 6
7 #include <string> 7 #include <string>
8 #include "v8/include/v8.h" 8 #include "v8/include/v8.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 const GURL& url, 83 const GURL& url,
84 GURL* new_url) { 84 GURL* new_url) {
85 return false; 85 return false;
86 } 86 }
87 87
88 bool MockContentRendererClient::ShouldPumpEventsDuringCookieMessage() { 88 bool MockContentRendererClient::ShouldPumpEventsDuringCookieMessage() {
89 return false; 89 return false;
90 } 90 }
91 91
92 void MockContentRendererClient::DidCreateScriptContext( 92 void MockContentRendererClient::DidCreateScriptContext(
93 WebKit::WebFrame* frame, v8::Handle<v8::Context> context, int world_id) { 93 WebKit::WebFrame* frame, v8::Handle<v8::Context> context,
94 int extension_group, int world_id) {
94 } 95 }
95 96
96 void MockContentRendererClient::WillReleaseScriptContext( 97 void MockContentRendererClient::WillReleaseScriptContext(
97 WebKit::WebFrame* frame, v8::Handle<v8::Context> context, int world_id) { 98 WebKit::WebFrame* frame, v8::Handle<v8::Context> context, int world_id) {
98 } 99 }
99 100
100 unsigned long long MockContentRendererClient::VisitedLinkHash( 101 unsigned long long MockContentRendererClient::VisitedLinkHash(
101 const char* canonical_url, size_t length) { 102 const char* canonical_url, size_t length) {
102 return 0LL; 103 return 0LL;
103 } 104 }
(...skipping 30 matching lines...) Expand all
134 135
135 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( 136 void MockContentRendererClient::RegisterPPAPIInterfaceFactories(
136 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { 137 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {
137 } 138 }
138 139
139 bool MockContentRendererClient::AllowSocketAPI(const GURL& url) { 140 bool MockContentRendererClient::AllowSocketAPI(const GURL& url) {
140 return false; 141 return false;
141 } 142 }
142 143
143 } // namespace content 144 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698