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

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

Issue 7624011: Keep normal popups opened from same-origin iframes in an extension process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to canRequest. Created 9 years, 4 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.cc » ('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 8
9 namespace content { 9 namespace content {
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 return true; 50 return true;
51 } 51 }
52 52
53 bool MockContentRendererClient::AllowPopup(const GURL& creator) { 53 bool MockContentRendererClient::AllowPopup(const GURL& creator) {
54 return false; 54 return false;
55 } 55 }
56 56
57 bool MockContentRendererClient::ShouldFork(WebKit::WebFrame* frame, 57 bool MockContentRendererClient::ShouldFork(WebKit::WebFrame* frame,
58 const GURL& url, 58 const GURL& url,
59 bool is_content_initiated, 59 bool is_content_initiated,
60 bool is_initial_navigation,
60 bool* send_referrer) { 61 bool* send_referrer) {
61 return false; 62 return false;
62 } 63 }
63 64
64 bool MockContentRendererClient::WillSendRequest(WebKit::WebFrame* frame, 65 bool MockContentRendererClient::WillSendRequest(WebKit::WebFrame* frame,
65 const GURL& url, 66 const GURL& url,
66 GURL* new_url) { 67 GURL* new_url) {
67 return false; 68 return false;
68 } 69 }
69 70
(...skipping 26 matching lines...) Expand all
96 const char* hostname, size_t length) { 97 const char* hostname, size_t length) {
97 } 98 }
98 99
99 bool MockContentRendererClient::ShouldOverridePageVisibilityState( 100 bool MockContentRendererClient::ShouldOverridePageVisibilityState(
100 const RenderView* render_view, 101 const RenderView* render_view,
101 WebKit::WebPageVisibilityState* override_state) const { 102 WebKit::WebPageVisibilityState* override_state) const {
102 return false; 103 return false;
103 } 104 }
104 105
105 } // namespace content 106 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/mock_content_renderer_client.h ('k') | content/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698