OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |