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

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

Issue 8885: Implementation of the UI part of the autofill (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/histogram.h" 7 #include "base/histogram.h"
8 #include "base/thread.h" 8 #include "base/thread.h"
9 #include "chrome/browser/chrome_plugin_browsing_context.h" 9 #include "chrome/browser/chrome_plugin_browsing_context.h"
10 #include "chrome/browser/chrome_thread.h" 10 #include "chrome/browser/chrome_thread.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 } 238 }
239 239
240 void ResourceMessageFilter::OnMsgCreateWindow(int opener_id, 240 void ResourceMessageFilter::OnMsgCreateWindow(int opener_id,
241 bool user_gesture, 241 bool user_gesture,
242 int* route_id, 242 int* route_id,
243 HANDLE* modal_dialog_event) { 243 HANDLE* modal_dialog_event) {
244 render_widget_helper_->CreateNewWindow(opener_id, user_gesture, route_id, 244 render_widget_helper_->CreateNewWindow(opener_id, user_gesture, route_id,
245 modal_dialog_event, render_handle_); 245 modal_dialog_event, render_handle_);
246 } 246 }
247 247
248 void ResourceMessageFilter::OnMsgCreateWidget(int opener_id, int* route_id) { 248 void ResourceMessageFilter::OnMsgCreateWidget(int opener_id,
249 render_widget_helper_->CreateNewWidget(opener_id, route_id); 249 bool focus_on_show,
250 int* route_id) {
251 render_widget_helper_->CreateNewWidget(opener_id, focus_on_show, route_id);
250 } 252 }
251 253
252 void ResourceMessageFilter::OnRequestResource( 254 void ResourceMessageFilter::OnRequestResource(
253 const IPC::Message& message, 255 const IPC::Message& message,
254 int request_id, 256 int request_id,
255 const ViewHostMsg_Resource_Request& request) { 257 const ViewHostMsg_Resource_Request& request) {
256 resource_dispatcher_host_->BeginRequest(this, 258 resource_dispatcher_host_->BeginRequest(this,
257 render_handle_, 259 render_handle_,
258 render_process_host_id_, 260 render_process_host_id_,
259 message.routing_id(), 261 message.routing_id(),
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 if (type == NOTIFY_SPELLCHECKER_REINITIALIZED) { 670 if (type == NOTIFY_SPELLCHECKER_REINITIALIZED) {
669 spellchecker_ = Details<SpellcheckerReinitializedDetails> 671 spellchecker_ = Details<SpellcheckerReinitializedDetails>
670 (details).ptr()->spellchecker; 672 (details).ptr()->spellchecker;
671 } 673 }
672 } 674 }
673 675
674 void ResourceMessageFilter::OnDnsPrefetch( 676 void ResourceMessageFilter::OnDnsPrefetch(
675 const std::vector<std::string>& hostnames) { 677 const std::vector<std::string>& hostnames) {
676 chrome_browser_net::DnsPrefetchList(hostnames); 678 chrome_browser_net::DnsPrefetchList(hostnames);
677 } 679 }
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