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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 // and can be used in showing created widgets. | 734 // and can be used in showing created widgets. |
735 // If this WebContents belongs to a browser plugin guest, there is no native | 735 // If this WebContents belongs to a browser plugin guest, there is no native |
736 // window 'view' associated with this WebContents. This method returns the | 736 // window 'view' associated with this WebContents. This method returns the |
737 // 'view' of the embedder instead. | 737 // 'view' of the embedder instead. |
738 RenderWidgetHostViewPort* GetRenderWidgetHostViewPort() const; | 738 RenderWidgetHostViewPort* GetRenderWidgetHostViewPort() const; |
739 | 739 |
740 // Misc non-view stuff ------------------------------------------------------- | 740 // Misc non-view stuff ------------------------------------------------------- |
741 | 741 |
742 // Helper functions for sending notifications. | 742 // Helper functions for sending notifications. |
743 void NotifySwapped(RenderViewHost* old_render_view_host); | 743 void NotifySwapped(RenderViewHost* old_render_view_host); |
744 void NotifyConnected(); | |
745 void NotifyDisconnected(); | 744 void NotifyDisconnected(); |
746 void NotifyNavigationEntryCommitted(const LoadCommittedDetails& load_details); | 745 void NotifyNavigationEntryCommitted(const LoadCommittedDetails& load_details); |
747 | 746 |
748 void SetEncoding(const std::string& encoding); | 747 void SetEncoding(const std::string& encoding); |
749 | 748 |
750 RenderViewHostImpl* GetRenderViewHostImpl(); | 749 RenderViewHostImpl* GetRenderViewHostImpl(); |
751 | 750 |
752 FrameTreeNode* FindFrameTreeNodeByID(int64 frame_id); | 751 FrameTreeNode* FindFrameTreeNodeByID(int64 frame_id); |
753 | 752 |
754 // Removes browser plugin embedder if there is one. | 753 // Removes browser plugin embedder if there is one. |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 // Maps the ids of pending image downloads to their callbacks | 966 // Maps the ids of pending image downloads to their callbacks |
968 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 967 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
969 ImageDownloadMap image_download_map_; | 968 ImageDownloadMap image_download_map_; |
970 | 969 |
971 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 970 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
972 }; | 971 }; |
973 | 972 |
974 } // namespace content | 973 } // namespace content |
975 | 974 |
976 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 975 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |