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

Unified Diff: chrome/browser/autofill/autofill_external_delegate.cc

Issue 9473001: Extract minimal RenderViewHost interface for embedders, leaving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_external_delegate.cc
diff --git a/chrome/browser/autofill/autofill_external_delegate.cc b/chrome/browser/autofill/autofill_external_delegate.cc
index efd64682854aab253c1324c8a8cfccd23aca1756..0afa89f767abf38132e3fb9dc7c65342ef6e12f7 100644
--- a/chrome/browser/autofill/autofill_external_delegate.cc
+++ b/chrome/browser/autofill/autofill_external_delegate.cc
@@ -159,13 +159,13 @@ void AutofillExternalDelegate::DidAcceptAutofillSuggestions(
// User selected 'Clear form'.
RenderViewHost* host =
tab_contents_wrapper_->web_contents()->GetRenderViewHost();
- host->Send(new AutofillMsg_ClearForm(host->routing_id()));
+ host->Send(new AutofillMsg_ClearForm(host->GetRoutingID()));
} else if (!unique_id) {
// User selected an Autocomplete entry, so we fill directly.
RenderViewHost* host =
tab_contents_wrapper_->web_contents()->GetRenderViewHost();
host->Send(new AutofillMsg_SetNodeText(
- host->routing_id(),
+ host->GetRoutingID(),
value));
} else {
FillAutofillFormData(unique_id, false);
@@ -177,7 +177,7 @@ void AutofillExternalDelegate::DidAcceptAutofillSuggestions(
void AutofillExternalDelegate::ClearPreviewedForm() {
RenderViewHost* host =
tab_contents_wrapper_->web_contents()->GetRenderViewHost();
- host->Send(new AutofillMsg_ClearPreviewedForm(host->routing_id()));
+ host->Send(new AutofillMsg_ClearPreviewedForm(host->GetRoutingID()));
}
void AutofillExternalDelegate::HideAutofillPopup() {
@@ -194,10 +194,10 @@ void AutofillExternalDelegate::FillAutofillFormData(int unique_id,
if (is_preview) {
host->Send(new AutofillMsg_SetAutofillActionPreview(
- host->routing_id()));
+ host->GetRoutingID()));
} else {
host->Send(new AutofillMsg_SetAutofillActionFill(
- host->routing_id()));
+ host->GetRoutingID()));
}
// Fill the values for the whole form.
« no previous file with comments | « chrome/browser/autofill/autofill_browsertest.cc ('k') | chrome/browser/autofill/autofill_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698