| 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_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 const GURL& source_origin, | 478 const GURL& source_origin, |
| 479 WindowContainerType container_type, | 479 WindowContainerType container_type, |
| 480 const GURL& target_url, | 480 const GURL& target_url, |
| 481 const content::Referrer& referrer, | 481 const content::Referrer& referrer, |
| 482 WindowOpenDisposition disposition, | 482 WindowOpenDisposition disposition, |
| 483 const blink::WebWindowFeatures& features, | 483 const blink::WebWindowFeatures& features, |
| 484 bool user_gesture, | 484 bool user_gesture, |
| 485 bool opener_suppressed, | 485 bool opener_suppressed, |
| 486 content::ResourceContext* context, | 486 content::ResourceContext* context, |
| 487 int render_process_id, | 487 int render_process_id, |
| 488 bool is_guest, | |
| 489 int opener_id, | 488 int opener_id, |
| 490 bool* no_javascript_access); | 489 bool* no_javascript_access); |
| 491 | 490 |
| 492 // Returns a title string to use in the task manager for a process host with | 491 // Returns a title string to use in the task manager for a process host with |
| 493 // the given URL, or the empty string to fall back to the default logic. | 492 // the given URL, or the empty string to fall back to the default logic. |
| 494 // This is called on the IO thread. | 493 // This is called on the IO thread. |
| 495 virtual std::string GetWorkerProcessTitle(const GURL& url, | 494 virtual std::string GetWorkerProcessTitle(const GURL& url, |
| 496 ResourceContext* context); | 495 ResourceContext* context); |
| 497 | 496 |
| 498 // Notifies the embedder that the ResourceDispatcherHost has been created. | 497 // Notifies the embedder that the ResourceDispatcherHost has been created. |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 // Allows an embedder to provide its own ExternalVideoSurfaceContainer | 641 // Allows an embedder to provide its own ExternalVideoSurfaceContainer |
| 643 // implementation. Return NULL to disable external surface video. | 642 // implementation. Return NULL to disable external surface video. |
| 644 virtual ExternalVideoSurfaceContainer* | 643 virtual ExternalVideoSurfaceContainer* |
| 645 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); | 644 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); |
| 646 #endif | 645 #endif |
| 647 }; | 646 }; |
| 648 | 647 |
| 649 } // namespace content | 648 } // namespace content |
| 650 | 649 |
| 651 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ | 650 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |