| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_H_ | 6 #define CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 void SelectionCleared() override; | 99 void SelectionCleared() override; |
| 100 void PasswordAccepted() override; | 100 void PasswordAccepted() override; |
| 101 void OnSavedPasswordsLinkClicked() override; | 101 void OnSavedPasswordsLinkClicked() override; |
| 102 int GetMinimumWidth() override; | 102 int GetMinimumWidth() override; |
| 103 gfx::NativeView container_view() override; | 103 gfx::NativeView container_view() override; |
| 104 gfx::Rect popup_bounds() const override; | 104 gfx::Rect popup_bounds() const override; |
| 105 const gfx::RectF& element_bounds() const override; | 105 const gfx::RectF& element_bounds() const override; |
| 106 bool IsRTL() const override; | 106 bool IsRTL() const override; |
| 107 const std::vector<autofill::Suggestion> GetSuggestions() override; | 107 const std::vector<autofill::Suggestion> GetSuggestions() override; |
| 108 #if !defined(OS_ANDROID) | 108 #if !defined(OS_ANDROID) |
| 109 int GetElidedValueWidthForRow(size_t row) override; | 109 int GetElidedValueWidthForRow(int row) override; |
| 110 int GetElidedLabelWidthForRow(size_t row) override; | 110 int GetElidedLabelWidthForRow(int row) override; |
| 111 #endif | 111 #endif |
| 112 | 112 |
| 113 bool display_password() const override; | 113 bool display_password() const override; |
| 114 bool password_selected() const override; | 114 bool password_selected() const override; |
| 115 base::string16 password() const override; | 115 base::string16 password() const override; |
| 116 base::string16 SuggestedText() override; | 116 base::string16 SuggestedText() override; |
| 117 const base::string16& HelpText() override; | 117 const base::string16& HelpText() override; |
| 118 const gfx::Range& HelpTextLinkRange() override; | 118 const gfx::Range& HelpTextLinkRange() override; |
| 119 | 119 |
| 120 base::WeakPtr<PasswordGenerationPopupControllerImpl> GetWeakPtr(); | 120 base::WeakPtr<PasswordGenerationPopupControllerImpl> GetWeakPtr(); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 PopupViewCommon view_common_; | 161 PopupViewCommon view_common_; |
| 162 | 162 |
| 163 base::WeakPtrFactory<PasswordGenerationPopupControllerImpl> weak_ptr_factory_; | 163 base::WeakPtrFactory<PasswordGenerationPopupControllerImpl> weak_ptr_factory_; |
| 164 | 164 |
| 165 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupControllerImpl); | 165 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupControllerImpl); |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 } // namespace autofill | 168 } // namespace autofill |
| 169 | 169 |
| 170 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_
H_ | 170 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_
H_ |
| OLD | NEW |