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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 | 565 |
566 void SetEncoding(const std::string& encoding); | 566 void SetEncoding(const std::string& encoding); |
567 | 567 |
568 // Save a URL to the local filesystem. | 568 // Save a URL to the local filesystem. |
569 void SaveURL(const GURL& url, | 569 void SaveURL(const GURL& url, |
570 const content::Referrer& referrer, | 570 const content::Referrer& referrer, |
571 bool is_main_frame); | 571 bool is_main_frame); |
572 | 572 |
573 content::RenderViewHostImpl* GetRenderViewHostImpl(); | 573 content::RenderViewHostImpl* GetRenderViewHostImpl(); |
574 | 574 |
| 575 void GetBrowserPluginEmbedderInfo(content::RenderViewHost* render_view_host, |
| 576 std::string* embedder_channel_name, |
| 577 int* embedder_container_id); |
| 578 |
575 // Stores random bits of data for others to associate with this object. | 579 // Stores random bits of data for others to associate with this object. |
576 // WARNING: this needs to be deleted after NavigationController. | 580 // WARNING: this needs to be deleted after NavigationController. |
577 base::PropertyBag property_bag_; | 581 base::PropertyBag property_bag_; |
578 | 582 |
579 // Listen for notifications as well. | 583 // Listen for notifications as well. |
580 content::NotificationRegistrar registrar_; | 584 content::NotificationRegistrar registrar_; |
581 | 585 |
582 // Data for core operation --------------------------------------------------- | 586 // Data for core operation --------------------------------------------------- |
583 | 587 |
584 // Delegate for notifying our owner about stuff. Not owned by us. | 588 // Delegate for notifying our owner about stuff. Not owned by us. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 // (full-page plugins for now only) permissions. | 733 // (full-page plugins for now only) permissions. |
730 int content_restrictions_; | 734 int content_restrictions_; |
731 | 735 |
732 // Color chooser that was opened by this tab. | 736 // Color chooser that was opened by this tab. |
733 content::ColorChooser* color_chooser_; | 737 content::ColorChooser* color_chooser_; |
734 | 738 |
735 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 739 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
736 }; | 740 }; |
737 | 741 |
738 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 742 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |