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

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

Issue 23252006: Cleanup after https://codereview.chromium.org/18799006/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment fix for jam Created 7 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.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) 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/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 240
241 // Returns whether BrowserPlugin should be allowed within the |container|. 241 // Returns whether BrowserPlugin should be allowed within the |container|.
242 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container); 242 virtual bool AllowBrowserPlugin(WebKit::WebPluginContainer* container);
243 243
244 // Returns true if the page at |url| can use Pepper MediaStream APIs. 244 // Returns true if the page at |url| can use Pepper MediaStream APIs.
245 virtual bool AllowPepperMediaStreamAPI(const GURL& url); 245 virtual bool AllowPepperMediaStreamAPI(const GURL& url);
246 246
247 // Returns true if we should report a detailed message (including a stack 247 // Returns true if we should report a detailed message (including a stack
248 // trace) for console [logs|errors|exceptions]. |source| is the WebKit- 248 // trace) for console [logs|errors|exceptions]. |source| is the WebKit-
249 // reported source for the error; this can point to a page or a script, 249 // reported source for the error; this can point to a page or a script,
250 // and can be external (e.g., "http://www.google.com"), extension-related 250 // and can be external or internal.
251 // (e.g., "chrome-extension://<extension_id>/background.js"), or internal
252 // (e.g., "event_bindings" or "schemaUtils").
253 virtual bool ShouldReportDetailedMessageForSource( 251 virtual bool ShouldReportDetailedMessageForSource(
254 const base::string16& source) const; 252 const base::string16& source) const;
255 }; 253 };
256 254
257 } // namespace content 255 } // namespace content
258 256
259 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 257 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698