Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 23784005: Provide observer functions for NOTIFICATION_WEB_CONTENTS_CONNECTED, NOTIFICATION_WEB_CONTENTS_SWAPP… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better name Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698