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

Side by Side Diff: chrome/browser/resource_message_filter.cc

Issue 17455: Autofill popup dismissed when page loses focus (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 11 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 | « chrome/browser/resource_message_filter.h ('k') | chrome/browser/web_contents_view.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/resource_message_filter.h" 5 #include "chrome/browser/resource_message_filter.h"
6 6
7 #include "base/clipboard.h" 7 #include "base/clipboard.h"
8 #include "base/histogram.h" 8 #include "base/histogram.h"
9 #include "base/thread.h" 9 #include "base/thread.h"
10 #include "chrome/browser/chrome_plugin_browsing_context.h" 10 #include "chrome/browser/chrome_plugin_browsing_context.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 void ResourceMessageFilter::OnMsgCreateWindow(int opener_id, 230 void ResourceMessageFilter::OnMsgCreateWindow(int opener_id,
231 bool user_gesture, 231 bool user_gesture,
232 int* route_id, 232 int* route_id,
233 HANDLE* modal_dialog_event) { 233 HANDLE* modal_dialog_event) {
234 render_widget_helper_->CreateNewWindow(opener_id, user_gesture, route_id, 234 render_widget_helper_->CreateNewWindow(opener_id, user_gesture, route_id,
235 modal_dialog_event, render_handle_); 235 modal_dialog_event, render_handle_);
236 } 236 }
237 237
238 void ResourceMessageFilter::OnMsgCreateWidget(int opener_id, 238 void ResourceMessageFilter::OnMsgCreateWidget(int opener_id,
239 bool focus_on_show, 239 bool activatable,
240 int* route_id) { 240 int* route_id) {
241 render_widget_helper_->CreateNewWidget(opener_id, focus_on_show, route_id); 241 render_widget_helper_->CreateNewWidget(opener_id, activatable, route_id);
242 } 242 }
243 243
244 void ResourceMessageFilter::OnRequestResource( 244 void ResourceMessageFilter::OnRequestResource(
245 const IPC::Message& message, 245 const IPC::Message& message,
246 int request_id, 246 int request_id,
247 const ViewHostMsg_Resource_Request& request) { 247 const ViewHostMsg_Resource_Request& request) {
248 resource_dispatcher_host_->BeginRequest(this, 248 resource_dispatcher_host_->BeginRequest(this,
249 render_handle_, 249 render_handle_,
250 render_process_host_id_, 250 render_process_host_id_,
251 message.routing_id(), 251 message.routing_id(),
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 if (type == NOTIFY_SPELLCHECKER_REINITIALIZED) { 651 if (type == NOTIFY_SPELLCHECKER_REINITIALIZED) {
652 spellchecker_ = Details<SpellcheckerReinitializedDetails> 652 spellchecker_ = Details<SpellcheckerReinitializedDetails>
653 (details).ptr()->spellchecker; 653 (details).ptr()->spellchecker;
654 } 654 }
655 } 655 }
656 656
657 void ResourceMessageFilter::OnDnsPrefetch( 657 void ResourceMessageFilter::OnDnsPrefetch(
658 const std::vector<std::string>& hostnames) { 658 const std::vector<std::string>& hostnames) {
659 chrome_browser_net::DnsPrefetchList(hostnames); 659 chrome_browser_net::DnsPrefetchList(hostnames);
660 } 660 }
OLDNEW
« no previous file with comments | « chrome/browser/resource_message_filter.h ('k') | chrome/browser/web_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698