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

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

Issue 7955001: Update Chrome to use new context notification APIs from WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years, 3 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
« no previous file with comments | « content/renderer/mock_content_renderer_client.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 const GURL& url, 67 const GURL& url,
68 GURL* new_url) { 68 GURL* new_url) {
69 return false; 69 return false;
70 } 70 }
71 71
72 bool MockContentRendererClient::ShouldPumpEventsDuringCookieMessage() { 72 bool MockContentRendererClient::ShouldPumpEventsDuringCookieMessage() {
73 return false; 73 return false;
74 } 74 }
75 75
76 void MockContentRendererClient::DidCreateScriptContext( 76 void MockContentRendererClient::DidCreateScriptContext(
77 WebKit::WebFrame* frame) { 77 WebKit::WebFrame* frame, v8::Handle<v8::Context> context, int world_id) {
78 } 78 }
79 79
80 void MockContentRendererClient::DidDestroyScriptContext( 80 void MockContentRendererClient::WillReleaseScriptContext(
81 WebKit::WebFrame* frame) { 81 WebKit::WebFrame* frame, v8::Handle<v8::Context> context, int world_id) {
82 }
83
84 void MockContentRendererClient::DidCreateIsolatedScriptContext(
85 WebKit::WebFrame* frame, int world_id, v8::Handle<v8::Context> context) {
86 } 82 }
87 83
88 unsigned long long MockContentRendererClient::VisitedLinkHash( 84 unsigned long long MockContentRendererClient::VisitedLinkHash(
89 const char* canonical_url, size_t length) { 85 const char* canonical_url, size_t length) {
90 return 0LL; 86 return 0LL;
91 } 87 }
92 88
93 bool MockContentRendererClient::IsLinkVisited(unsigned long long link_hash) { 89 bool MockContentRendererClient::IsLinkVisited(unsigned long long link_hash) {
94 return false; 90 return false;
95 } 91 }
(...skipping 17 matching lines...) Expand all
113 } 109 }
114 110
115 bool MockContentRendererClient::HandleSetCookieRequest( 111 bool MockContentRendererClient::HandleSetCookieRequest(
116 RenderView* sender, 112 RenderView* sender,
117 const GURL& url, 113 const GURL& url,
118 const GURL& first_party_for_cookies, 114 const GURL& first_party_for_cookies,
119 const std::string& value) { 115 const std::string& value) {
120 return false; 116 return false;
121 } 117 }
122 } // namespace content 118 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.h ('k') | content/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698