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

Side by Side Diff: webkit/glue/webpasswordautocompletelistener_impl.h

Issue 3219002: FBTF: Move code from headers into cc files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
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 // A concrete definition of the DOM autocomplete framework defined by 5 // A concrete definition of the DOM autocomplete framework defined by
6 // autocomplete_input_listener.h, for the password manager. 6 // autocomplete_input_listener.h, for the password manager.
7 7
8 #ifndef WEBKIT_GLUE_PASSWORDAUTOCOMPLETELISTENER_IMPL_H_ 8 #ifndef WEBKIT_GLUE_PASSWORDAUTOCOMPLETELISTENER_IMPL_H_
9 #define WEBKIT_GLUE_PASSWORDAUTOCOMPLETELISTENER_IMPL_H_ 9 #define WEBKIT_GLUE_PASSWORDAUTOCOMPLETELISTENER_IMPL_H_
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 DISALLOW_COPY_AND_ASSIGN(WebInputElementDelegate); 42 DISALLOW_COPY_AND_ASSIGN(WebInputElementDelegate);
43 }; 43 };
44 44
45 class WebPasswordAutocompleteListenerImpl : 45 class WebPasswordAutocompleteListenerImpl :
46 public WebKit::WebPasswordAutocompleteListener { 46 public WebKit::WebPasswordAutocompleteListener {
47 public: 47 public:
48 WebPasswordAutocompleteListenerImpl( 48 WebPasswordAutocompleteListenerImpl(
49 WebInputElementDelegate* username_element, 49 WebInputElementDelegate* username_element,
50 WebInputElementDelegate* password_element, 50 WebInputElementDelegate* password_element,
51 const PasswordFormFillData& data); 51 const PasswordFormFillData& data);
52 ~WebPasswordAutocompleteListenerImpl() { 52 virtual ~WebPasswordAutocompleteListenerImpl();
53 }
54 53
55 // WebKit::PasswordAutocompleteListener methods: 54 // WebKit::PasswordAutocompleteListener methods:
56 virtual void didBlurInputElement(const WebString& user_input); 55 virtual void didBlurInputElement(const WebString& user_input);
57 virtual void performInlineAutocomplete(const WebString& user_input, 56 virtual void performInlineAutocomplete(const WebString& user_input,
58 bool backspace_or_delete_pressed, 57 bool backspace_or_delete_pressed,
59 bool show_suggestions); 58 bool show_suggestions);
60 virtual bool showSuggestionPopup(const WebString& value); 59 virtual bool showSuggestionPopup(const WebString& value);
61 60
62 private: 61 private:
63 // Check if the input string resembles a potential matching login 62 // Check if the input string resembles a potential matching login
(...skipping 13 matching lines...) Expand all
77 76
78 // Contains the extra logins for matching on delta/blur. 77 // Contains the extra logins for matching on delta/blur.
79 PasswordFormFillData data_; 78 PasswordFormFillData data_;
80 79
81 DISALLOW_COPY_AND_ASSIGN(WebPasswordAutocompleteListenerImpl); 80 DISALLOW_COPY_AND_ASSIGN(WebPasswordAutocompleteListenerImpl);
82 }; 81 };
83 82
84 } // webkit_glue 83 } // webkit_glue
85 84
86 #endif // WEBKIT_GLUE_PASSWORD_AUTOCOMPLETE_LISTENER_H_ 85 #endif // WEBKIT_GLUE_PASSWORD_AUTOCOMPLETE_LISTENER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698