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

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

Issue 228333002: Close the created popup widget on blurring a WebContents regardless of whether the renderer process… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
« 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 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
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