| Index: chrome/renderer/autofill/autofill_agent.h
|
| diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h
|
| index 61c36e62b6dd394bc39775c431ad5282feb3ca04..913918d57431698fb6ffd2f9c1f32f06032bb874 100644
|
| --- a/chrome/renderer/autofill/autofill_agent.h
|
| +++ b/chrome/renderer/autofill/autofill_agent.h
|
| @@ -101,9 +101,12 @@ class AutofillAgent : public content::RenderViewObserver,
|
| void OnFieldTypePredictionsAvailable(
|
| const std::vector<webkit_glue::FormDataPredictions>& forms);
|
|
|
| - // For external Autofill selection.
|
| + // For external Autofill selection.
|
| void OnSelectAutofillSuggestionAtIndex(int listIndex);
|
|
|
| + // For setting if an external autofill delegate is in use.
|
| + void OnSetHasExternalDelegate(bool has_external_delegate);
|
| +
|
| // Called in a posted task by textFieldDidChange() to work-around a WebKit bug
|
| // http://bugs.webkit.org/show_bug.cgi?id=16976
|
| void TextFieldDidChangeImpl(const WebKit::WebInputElement& element);
|
| @@ -174,6 +177,10 @@ class AutofillAgent : public content::RenderViewObserver,
|
| // currently editing? Used to keep track of state for metrics logging.
|
| bool has_shown_autofill_popup_for_current_edit_;
|
|
|
| + // Is an external delegate in the browser handling showing the autofill
|
| + // popup? This determines whether we communicate with the delegate or WebKit.
|
| + bool has_external_delegate_;
|
| +
|
| base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
|
|
|
| friend class PasswordAutofillManagerTest;
|
|
|