summaryrefslogtreecommitdiffstats
path: root/chrome/renderer
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 21:31:41 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 21:31:41 +0000
commit4dbd6f522b0bb3f3aef112a77f26cfa375d6d0fd (patch)
treeacb16a6742ee13ad3ade900a8833ddf121f3417a /chrome/renderer
parentccec4706b7e6f2c145e71f95ebc9544a1e3092d2 (diff)
downloadchromium_src-4dbd6f522b0bb3f3aef112a77f26cfa375d6d0fd.zip
chromium_src-4dbd6f522b0bb3f3aef112a77f26cfa375d6d0fd.tar.gz
chromium_src-4dbd6f522b0bb3f3aef112a77f26cfa375d6d0fd.tar.bz2
Add more logging to determine where the keypress event is failing.
BUG=81451 TEST=interactive_ui_tests --gtest_filter=AutofillTest.AutofillAfterReload Review URL: http://codereview.chromium.org/6929062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r--chrome/renderer/autofill/autofill_agent.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/autofill/autofill_agent.cc b/chrome/renderer/autofill/autofill_agent.cc
index aced480..f0a8003 100644
--- a/chrome/renderer/autofill/autofill_agent.cc
+++ b/chrome/renderer/autofill/autofill_agent.cc
@@ -214,6 +214,7 @@ void AutofillAgent::OnSuggestionsReturned(int query_id,
const std::vector<string16>& labels,
const std::vector<string16>& icons,
const std::vector<int>& unique_ids) {
+ LOG(WARNING) << "Received Autofill suggestions.";
WebKit::WebView* web_view = render_view()->webview();
if (!web_view || query_id != autofill_query_id_)
return;
@@ -283,6 +284,7 @@ void AutofillAgent::OnSuggestionsReturned(int query_id,
autofill_query_node_, v, l, i, ids, separator_index);
}
+ LOG(WARNING) << "Showed Autofill suggestions popup.";
Send(new AutofillHostMsg_DidShowAutofillSuggestions(routing_id()));
}
@@ -309,6 +311,7 @@ void AutofillAgent::ShowSuggestions(const WebInputElement& element,
bool autofill_on_empty_values,
bool requires_caret_at_end,
bool display_warning_if_disabled) {
+ LOG(WARNING) << "Got a request to show Autofill suggestions.";
if (!element.isEnabled() || element.isReadOnly() || !element.autoComplete() ||
!element.isTextField() || element.isPasswordField() ||
!element.suggestedValue().isEmpty())
@@ -336,6 +339,7 @@ void AutofillAgent::ShowSuggestions(const WebInputElement& element,
void AutofillAgent::QueryAutofillSuggestions(const WebNode& node,
bool display_warning_if_disabled) {
+ LOG(WARNING) << "Querying the browser-side Autofill host for suggestions.";
static int query_counter = 0;
autofill_query_id_ = query_counter++;
autofill_query_node_ = node;