| 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, | 574 void OnBrowserPluginCreateGuest(int instance_id, |
| 575 const std::string& storage_partition_id, | 575 const std::string& storage_partition_id, |
| 576 bool persist_storage); | 576 bool persist_storage); |
| 577 void OnBrowserPluginNavigateGuest( | |
| 578 int instance_id, | |
| 579 const std::string& src, | |
| 580 const BrowserPluginHostMsg_ResizeGuest_Params& resize_params); | |
| 581 | 577 |
| 582 // Changes the IsLoading state and notifies delegate as needed | 578 // Changes the IsLoading state and notifies delegate as needed |
| 583 // |details| is used to provide details on the load that just finished | 579 // |details| is used to provide details on the load that just finished |
| 584 // (but can be null if not applicable). Can be overridden. | 580 // (but can be null if not applicable). Can be overridden. |
| 585 void SetIsLoading(bool is_loading, | 581 void SetIsLoading(bool is_loading, |
| 586 content::LoadNotificationDetails* details); | 582 content::LoadNotificationDetails* details); |
| 587 | 583 |
| 588 // Called by derived classes to indicate that we're no longer waiting for a | 584 // Called by derived classes to indicate that we're no longer waiting for a |
| 589 // response. This won't actually update the throbber, but it will get picked | 585 // response. This won't actually update the throbber, but it will get picked |
| 590 // up at the next animation step if the throbber is going. | 586 // up at the next animation step if the throbber is going. |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 content::RenderViewHost* message_source_; | 867 content::RenderViewHost* message_source_; |
| 872 | 868 |
| 873 // All live RenderWidgetHostImpls that are created by this object and may | 869 // All live RenderWidgetHostImpls that are created by this object and may |
| 874 // outlive it. | 870 // outlive it. |
| 875 std::set<content::RenderWidgetHostImpl*> created_widgets_; | 871 std::set<content::RenderWidgetHostImpl*> created_widgets_; |
| 876 | 872 |
| 877 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 873 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 878 }; | 874 }; |
| 879 | 875 |
| 880 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 876 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |