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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); | 563 void OnSetSelectedColorInColorChooser(int color_chooser_id, SkColor color); |
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 OnBrowserPluginCreateGuest(int instance_id, |
574 int64 frame_id, | 574 int64 frame_id, |
575 const std::string& src, | 575 const std::string& storage_partition_id, |
576 const gfx::Size& size); | 576 bool persist_storage); |
577 | 577 |
578 // Changes the IsLoading state and notifies delegate as needed | 578 // Changes the IsLoading state and notifies delegate as needed |
579 // |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 |
580 // (but can be null if not applicable). Can be overridden. | 580 // (but can be null if not applicable). Can be overridden. |
581 void SetIsLoading(bool is_loading, | 581 void SetIsLoading(bool is_loading, |
582 content::LoadNotificationDetails* details); | 582 content::LoadNotificationDetails* details); |
583 | 583 |
584 // 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 |
585 // 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 |
586 // up at the next animation step if the throbber is going. | 586 // up at the next animation step if the throbber is going. |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 content::RenderViewHost* message_source_; | 864 content::RenderViewHost* message_source_; |
865 | 865 |
866 // All live RenderWidgetHostImpls that are created by this object and may | 866 // All live RenderWidgetHostImpls that are created by this object and may |
867 // outlive it. | 867 // outlive it. |
868 std::set<content::RenderWidgetHostImpl*> created_widgets_; | 868 std::set<content::RenderWidgetHostImpl*> created_widgets_; |
869 | 869 |
870 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 870 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
871 }; | 871 }; |
872 | 872 |
873 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 873 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |