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 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 namespace content { | 41 namespace content { |
42 class BrowserPluginEmbedder; | 42 class BrowserPluginEmbedder; |
43 class BrowserPluginGuest; | 43 class BrowserPluginGuest; |
44 class ColorChooser; | 44 class ColorChooser; |
45 class DateTimeChooserAndroid; | 45 class DateTimeChooserAndroid; |
46 class DownloadItem; | 46 class DownloadItem; |
47 class InterstitialPageImpl; | 47 class InterstitialPageImpl; |
48 class JavaBridgeDispatcherHostManager; | 48 class JavaBridgeDispatcherHostManager; |
49 class JavaScriptDialogCreator; | 49 class JavaScriptDialogManager; |
50 class RenderViewHost; | 50 class RenderViewHost; |
51 class RenderViewHostDelegateView; | 51 class RenderViewHostDelegateView; |
52 class RenderViewHostImpl; | 52 class RenderViewHostImpl; |
53 class RenderWidgetHostImpl; | 53 class RenderWidgetHostImpl; |
54 class SavePackage; | 54 class SavePackage; |
55 class SessionStorageNamespaceImpl; | 55 class SessionStorageNamespaceImpl; |
56 class SiteInstance; | 56 class SiteInstance; |
57 class TestWebContents; | 57 class TestWebContents; |
58 class WebContentsDelegate; | 58 class WebContentsDelegate; |
59 class WebContentsImpl; | 59 class WebContentsImpl; |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
787 | 787 |
788 // See getter above. | 788 // See getter above. |
789 bool is_being_destroyed_; | 789 bool is_being_destroyed_; |
790 | 790 |
791 // Indicates whether we should notify about disconnection of this | 791 // Indicates whether we should notify about disconnection of this |
792 // WebContentsImpl. This is used to ensure disconnection notifications only | 792 // WebContentsImpl. This is used to ensure disconnection notifications only |
793 // happen if a connection notification has happened and that they happen only | 793 // happen if a connection notification has happened and that they happen only |
794 // once. | 794 // once. |
795 bool notify_disconnection_; | 795 bool notify_disconnection_; |
796 | 796 |
797 // Pointer to the JavaScript dialog creator, lazily assigned. Used because the | 797 // Pointer to the JavaScript dialog manager, lazily assigned. Used because the |
798 // delegate of this WebContentsImpl is nulled before its destructor is called. | 798 // delegate of this WebContentsImpl is nulled before its destructor is called. |
799 JavaScriptDialogCreator* dialog_creator_; | 799 JavaScriptDialogManager* dialog_manager_; |
800 | 800 |
801 // Set to true when there is an active "before unload" dialog. When true, | 801 // Set to true when there is an active "before unload" dialog. When true, |
802 // we've forced the throbber to start in Navigate, and we need to remember to | 802 // we've forced the throbber to start in Navigate, and we need to remember to |
803 // turn it off in OnJavaScriptMessageBoxClosed if the navigation is canceled. | 803 // turn it off in OnJavaScriptMessageBoxClosed if the navigation is canceled. |
804 bool is_showing_before_unload_dialog_; | 804 bool is_showing_before_unload_dialog_; |
805 | 805 |
806 // Settings that get passed to the renderer process. | 806 // Settings that get passed to the renderer process. |
807 RendererPreferences renderer_preferences_; | 807 RendererPreferences renderer_preferences_; |
808 | 808 |
809 // If this tab was created from a renderer using window.open, this will be | 809 // If this tab was created from a renderer using window.open, this will be |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 // Maps the ids of pending favicon downloads to their callbacks | 874 // Maps the ids of pending favicon downloads to their callbacks |
875 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 875 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
876 FaviconDownloadMap favicon_download_map_; | 876 FaviconDownloadMap favicon_download_map_; |
877 | 877 |
878 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 878 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
879 }; | 879 }; |
880 | 880 |
881 } // namespace content | 881 } // namespace content |
882 | 882 |
883 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 883 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |