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

Side by Side Diff: chrome/browser/ui/autofill/autofill_popup_controller_impl.h

Issue 1134793004: Autofill item deletion on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test fix Created 5 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void SetPopupBounds(const gfx::Rect& bounds) override; 81 void SetPopupBounds(const gfx::Rect& bounds) override;
82 const gfx::Rect& popup_bounds() const override; 82 const gfx::Rect& popup_bounds() const override;
83 gfx::NativeView container_view() override; 83 gfx::NativeView container_view() override;
84 const gfx::RectF& element_bounds() const override; 84 const gfx::RectF& element_bounds() const override;
85 bool IsRTL() const override; 85 bool IsRTL() const override;
86 86
87 size_t GetLineCount() const override; 87 size_t GetLineCount() const override;
88 const autofill::Suggestion& GetSuggestionAt(size_t row) const override; 88 const autofill::Suggestion& GetSuggestionAt(size_t row) const override;
89 const base::string16& GetElidedValueAt(size_t row) const override; 89 const base::string16& GetElidedValueAt(size_t row) const override;
90 const base::string16& GetElidedLabelAt(size_t row) const override; 90 const base::string16& GetElidedLabelAt(size_t row) const override;
91 bool GetRemovalConfirmationText(int list_index,
92 base::string16* title,
93 base::string16* body) override;
94 bool RemoveSuggestion(int list_index) override;
91 #if !defined(OS_ANDROID) 95 #if !defined(OS_ANDROID)
92 const gfx::FontList& GetValueFontListForRow(size_t index) const override; 96 const gfx::FontList& GetValueFontListForRow(size_t index) const override;
93 const gfx::FontList& GetLabelFontList() const override; 97 const gfx::FontList& GetLabelFontList() const override;
94 #endif 98 #endif
95 int selected_line() const override; 99 int selected_line() const override;
96 100
97 content::WebContents* web_contents(); 101 content::WebContents* web_contents();
98 102
99 // Change which line is currently selected by the user. 103 // Change which line is currently selected by the user.
100 void SetSelectedLine(int selected_line); 104 void SetSelectedLine(int selected_line);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // The line that is currently selected by the user. 193 // The line that is currently selected by the user.
190 // |kNoSelection| indicates that no line is currently selected. 194 // |kNoSelection| indicates that no line is currently selected.
191 int selected_line_; 195 int selected_line_;
192 196
193 base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_; 197 base::WeakPtrFactory<AutofillPopupControllerImpl> weak_ptr_factory_;
194 }; 198 };
195 199
196 } // namespace autofill 200 } // namespace autofill
197 201
198 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_ 202 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_POPUP_CONTROLLER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_popup_controller.h ('k') | chrome/browser/ui/autofill/autofill_popup_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698