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

Side by Side Diff: content/shell/shell_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
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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...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& origin, 146 const GURL& 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 SpeechRecognitionManagerDelegate* 154 virtual 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 AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 158 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
158 virtual bool IsFastShutdownPossible() OVERRIDE; 159 virtual bool IsFastShutdownPossible() OVERRIDE;
159 virtual void OverrideWebkitPrefs(RenderViewHost* rvh, 160 virtual void OverrideWebkitPrefs(RenderViewHost* rvh,
(...skipping 27 matching lines...) Expand all
187 188
188 ShellBrowserContext* browser_context(); 189 ShellBrowserContext* browser_context();
189 190
190 private: 191 private:
191 ShellBrowserMainParts* shell_browser_main_parts_; 192 ShellBrowserMainParts* shell_browser_main_parts_;
192 }; 193 };
193 194
194 } // namespace content 195 } // namespace content
195 196
196 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 197 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.cc ('k') | content/shell/shell_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698