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

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

Issue 2873503002: NOT YET READY: Improve granularity of window namespaces in Blink.
Patch Set: Rebasing... Created 3 years, 6 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 | « content/browser/browsing_instance.h ('k') | content/public/renderer/content_renderer_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 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // An empty URL is returned if the URL is not overriden. 363 // An empty URL is returned if the URL is not overriden.
364 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url); 364 virtual GURL OverrideFlashEmbedWithHTML(const GURL& url);
365 365
366 // Provides parameters for initializing the global task scheduler. Default 366 // Provides parameters for initializing the global task scheduler. Default
367 // params are used if this returns nullptr. 367 // params are used if this returns nullptr.
368 virtual std::unique_ptr<base::TaskScheduler::InitParams> 368 virtual std::unique_ptr<base::TaskScheduler::InitParams>
369 GetTaskSchedulerInitParams(); 369 GetTaskSchedulerInitParams();
370 370
371 // Returns true if the media pipeline can be suspended, or false otherwise. 371 // Returns true if the media pipeline can be suspended, or false otherwise.
372 virtual bool AllowMediaSuspend(); 372 virtual bool AllowMediaSuspend();
373
374 // Called when Blink cannot find a frame with the given name in the frame's
375 // browsing instance. This gives the embedder a chance to return a frame
376 // from outside of the browsing instance.
377 virtual blink::WebFrame* FindFrame(blink::WebLocalFrame* relative_to_frame,
378 const std::string& name);
373 }; 379 };
374 380
375 } // namespace content 381 } // namespace content
376 382
377 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ 383 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/browsing_instance.h ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698