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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation. Created 8 years, 8 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 | « no previous file | chrome/browser/chrome_content_browser_client.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) 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_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool worker) OVERRIDE; 139 bool worker) OVERRIDE;
140 virtual void CancelDesktopNotification( 140 virtual void CancelDesktopNotification(
141 int render_process_id, 141 int render_process_id,
142 int render_view_id, 142 int render_view_id,
143 int notification_id) OVERRIDE; 143 int notification_id) OVERRIDE;
144 virtual bool CanCreateWindow( 144 virtual bool CanCreateWindow(
145 const GURL& opener_url, 145 const GURL& opener_url,
146 const GURL& source_origin, 146 const GURL& source_origin,
147 WindowContainerType container_type, 147 WindowContainerType container_type,
148 content::ResourceContext* context, 148 content::ResourceContext* context,
149 int render_process_id) OVERRIDE; 149 int render_process_id,
150 bool* no_javascript_access) OVERRIDE;
150 virtual std::string GetWorkerProcessTitle( 151 virtual std::string GetWorkerProcessTitle(
151 const GURL& url, content::ResourceContext* context) OVERRIDE; 152 const GURL& url, content::ResourceContext* context) OVERRIDE;
152 virtual void ResourceDispatcherHostCreated() OVERRIDE; 153 virtual void ResourceDispatcherHostCreated() OVERRIDE;
153 virtual content::SpeechRecognitionManagerDelegate* 154 virtual content::SpeechRecognitionManagerDelegate*
154 GetSpeechRecognitionManagerDelegate() OVERRIDE; 155 GetSpeechRecognitionManagerDelegate() OVERRIDE;
155 virtual ui::Clipboard* GetClipboard() OVERRIDE; 156 virtual ui::Clipboard* GetClipboard() OVERRIDE;
156 virtual net::NetLog* GetNetLog() OVERRIDE; 157 virtual net::NetLog* GetNetLog() OVERRIDE;
157 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 158 virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
158 virtual bool IsFastShutdownPossible() OVERRIDE; 159 virtual bool IsFastShutdownPossible() OVERRIDE;
159 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh, 160 virtual void OverrideWebkitPrefs(content::RenderViewHost* rvh,
(...skipping 27 matching lines...) Expand all
187 private: 188 private:
188 // Set of origins that can use TCP/UDP private APIs from NaCl. 189 // Set of origins that can use TCP/UDP private APIs from NaCl.
189 std::set<std::string> allowed_socket_origins_; 190 std::set<std::string> allowed_socket_origins_;
190 191
191 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 192 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
192 }; 193 };
193 194
194 } // namespace chrome 195 } // namespace chrome
195 196
196 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 197 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698