| 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 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 // outlive it. | 1040 // outlive it. |
| 1041 std::set<RenderWidgetHostImpl*> created_widgets_; | 1041 std::set<RenderWidgetHostImpl*> created_widgets_; |
| 1042 | 1042 |
| 1043 // Routing id of the shown fullscreen widget or MSG_ROUTING_NONE otherwise. | 1043 // Routing id of the shown fullscreen widget or MSG_ROUTING_NONE otherwise. |
| 1044 int fullscreen_widget_routing_id_; | 1044 int fullscreen_widget_routing_id_; |
| 1045 | 1045 |
| 1046 // Maps the ids of pending image downloads to their callbacks | 1046 // Maps the ids of pending image downloads to their callbacks |
| 1047 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 1047 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 1048 ImageDownloadMap image_download_map_; | 1048 ImageDownloadMap image_download_map_; |
| 1049 | 1049 |
| 1050 // The current popup widget (e.g. HTML select) that should be closed on |
| 1051 // hide notification. |
| 1052 RenderWidgetHostViewPort* current_popup_host_view_; |
| 1053 |
| 1050 // Whether this WebContents is responsible for displaying a subframe in a | 1054 // Whether this WebContents is responsible for displaying a subframe in a |
| 1051 // different process from its parent page. | 1055 // different process from its parent page. |
| 1052 bool is_subframe_; | 1056 bool is_subframe_; |
| 1053 | 1057 |
| 1054 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1058 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1055 }; | 1059 }; |
| 1056 | 1060 |
| 1057 } // namespace content | 1061 } // namespace content |
| 1058 | 1062 |
| 1059 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1063 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |