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

Side by Side Diff: content/public/renderer/content_renderer_client.h

Issue 13923007: Remove --allow-request-os-file-handle option (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary #include Created 7 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
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_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 // Returns whether BrowserPlugin should be allowed within the |container|. 228 // Returns whether BrowserPlugin should be allowed within the |container|.
229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const; 229 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container) const;
230 230
231 // Allow the embedder to specify a different renderer compositor MessageLoop. 231 // Allow the embedder to specify a different renderer compositor MessageLoop.
232 // If not NULL, the returned MessageLoop must be valid for the lifetime of 232 // If not NULL, the returned MessageLoop must be valid for the lifetime of
233 // RenderThreadImpl. If NULL, then a new thread will be created. 233 // RenderThreadImpl. If NULL, then a new thread will be created.
234 virtual base::MessageLoop* OverrideCompositorMessageLoop() const; 234 virtual base::MessageLoop* OverrideCompositorMessageLoop() const;
235 235
236 // Allow the embedder to disable input event filtering by the compositor. 236 // Allow the embedder to disable input event filtering by the compositor.
237 virtual bool ShouldCreateCompositorInputHandler() const; 237 virtual bool ShouldCreateCompositorInputHandler() const;
238
239 // Check if we can allow RequestOSFileHandle API access for |url|.
240 virtual bool IsRequestOSFileHandleAllowedForURL(const GURL& url) const;
241 }; 238 };
242 239
243 } // namespace content 240 } // namespace content
244 241
245 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 242 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client_unittest.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698