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 OnPepperPluginHung(int plugin_child_id, | 564 void OnPepperPluginHung(int plugin_child_id, |
565 const FilePath& path, | 565 const FilePath& path, |
566 bool is_hung); | 566 bool is_hung); |
567 void OnWebUISend(const GURL& source_url, | 567 void OnWebUISend(const GURL& source_url, |
568 const std::string& name, | 568 const std::string& name, |
569 const base::ListValue& args); | 569 const base::ListValue& args); |
570 void OnRequestPpapiBrokerPermission(int request_id, | 570 void OnRequestPpapiBrokerPermission(int request_id, |
571 const GURL& url, | 571 const GURL& url, |
572 const FilePath& plugin_path); | 572 const FilePath& plugin_path); |
573 void OnBrowserPluginNavigateGuest(int instance_id, | 573 void OnBrowserPluginNavigateGuest(int instance_id, |
574 int64 frame_id, | |
575 const std::string& src, | 574 const std::string& src, |
576 const gfx::Size& size); | 575 const gfx::Size& size); |
577 | 576 |
578 // Changes the IsLoading state and notifies delegate as needed | 577 // Changes the IsLoading state and notifies delegate as needed |
579 // |details| is used to provide details on the load that just finished | 578 // |details| is used to provide details on the load that just finished |
580 // (but can be null if not applicable). Can be overridden. | 579 // (but can be null if not applicable). Can be overridden. |
581 void SetIsLoading(bool is_loading, | 580 void SetIsLoading(bool is_loading, |
582 content::LoadNotificationDetails* details); | 581 content::LoadNotificationDetails* details); |
583 | 582 |
584 // Called by derived classes to indicate that we're no longer waiting for a | 583 // Called by derived classes to indicate that we're no longer waiting for a |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 content::RenderViewHost* message_source_; | 866 content::RenderViewHost* message_source_; |
868 | 867 |
869 // All live RenderWidgetHostImpls that are created by this object and may | 868 // All live RenderWidgetHostImpls that are created by this object and may |
870 // outlive it. | 869 // outlive it. |
871 std::set<content::RenderWidgetHostImpl*> created_widgets_; | 870 std::set<content::RenderWidgetHostImpl*> created_widgets_; |
872 | 871 |
873 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 872 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
874 }; | 873 }; |
875 | 874 |
876 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 875 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |