| 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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 564 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
| 565 void OnPepperPluginHung(int plugin_child_id, | 565 void OnPepperPluginHung(int plugin_child_id, |
| 566 const FilePath& path, | 566 const FilePath& path, |
| 567 bool is_hung); | 567 bool is_hung); |
| 568 void OnWebUISend(const GURL& source_url, | 568 void OnWebUISend(const GURL& source_url, |
| 569 const std::string& name, | 569 const std::string& name, |
| 570 const base::ListValue& args); | 570 const base::ListValue& args); |
| 571 void OnRequestPpapiBrokerPermission(int request_id, | 571 void OnRequestPpapiBrokerPermission(int request_id, |
| 572 const GURL& url, | 572 const GURL& url, |
| 573 const FilePath& plugin_path); | 573 const FilePath& plugin_path); |
| 574 void OnBrowserPluginCreateGuest(int instance_id, |
| 575 const std::string& storage_partition_id, |
| 576 bool persist_storage); |
| 574 void OnBrowserPluginNavigateGuest( | 577 void OnBrowserPluginNavigateGuest( |
| 575 int instance_id, | 578 int instance_id, |
| 576 const std::string& src, | 579 const std::string& src, |
| 577 const BrowserPluginHostMsg_ResizeGuest_Params& resize_params); | 580 const BrowserPluginHostMsg_ResizeGuest_Params& resize_params); |
| 578 | 581 |
| 579 // Changes the IsLoading state and notifies delegate as needed | 582 // Changes the IsLoading state and notifies delegate as needed |
| 580 // |details| is used to provide details on the load that just finished | 583 // |details| is used to provide details on the load that just finished |
| 581 // (but can be null if not applicable). Can be overridden. | 584 // (but can be null if not applicable). Can be overridden. |
| 582 void SetIsLoading(bool is_loading, | 585 void SetIsLoading(bool is_loading, |
| 583 content::LoadNotificationDetails* details); | 586 content::LoadNotificationDetails* details); |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 868 content::RenderViewHost* message_source_; | 871 content::RenderViewHost* message_source_; |
| 869 | 872 |
| 870 // All live RenderWidgetHostImpls that are created by this object and may | 873 // All live RenderWidgetHostImpls that are created by this object and may |
| 871 // outlive it. | 874 // outlive it. |
| 872 std::set<content::RenderWidgetHostImpl*> created_widgets_; | 875 std::set<content::RenderWidgetHostImpl*> created_widgets_; |
| 873 | 876 |
| 874 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 877 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 875 }; | 878 }; |
| 876 | 879 |
| 877 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 880 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |