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

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

Issue 627043002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 password_manager::PasswordManager* password_manager, 82 password_manager::PasswordManager* password_manager,
83 PasswordGenerationPopupObserver* observer, 83 PasswordGenerationPopupObserver* observer,
84 content::WebContents* web_contents, 84 content::WebContents* web_contents,
85 gfx::NativeView container_view); 85 gfx::NativeView container_view);
86 86
87 // Handle to the popup. May be NULL if popup isn't showing. 87 // Handle to the popup. May be NULL if popup isn't showing.
88 PasswordGenerationPopupView* view_; 88 PasswordGenerationPopupView* view_;
89 89
90 private: 90 private:
91 // PasswordGenerationPopupController implementation: 91 // PasswordGenerationPopupController implementation:
92 virtual void Hide() OVERRIDE; 92 virtual void Hide() override;
93 virtual void ViewDestroyed() OVERRIDE; 93 virtual void ViewDestroyed() override;
94 virtual void SetSelectionAtPoint(const gfx::Point& point) OVERRIDE; 94 virtual void SetSelectionAtPoint(const gfx::Point& point) override;
95 virtual bool AcceptSelectedLine() OVERRIDE; 95 virtual bool AcceptSelectedLine() override;
96 virtual void SelectionCleared() OVERRIDE; 96 virtual void SelectionCleared() override;
97 virtual void OnSavedPasswordsLinkClicked() OVERRIDE; 97 virtual void OnSavedPasswordsLinkClicked() override;
98 virtual int GetMinimumWidth() OVERRIDE; 98 virtual int GetMinimumWidth() override;
99 virtual gfx::NativeView container_view() OVERRIDE; 99 virtual gfx::NativeView container_view() override;
100 virtual const gfx::Rect& popup_bounds() const OVERRIDE; 100 virtual const gfx::Rect& popup_bounds() const override;
101 virtual bool display_password() const OVERRIDE; 101 virtual bool display_password() const override;
102 virtual bool password_selected() const OVERRIDE; 102 virtual bool password_selected() const override;
103 virtual base::string16 password() const OVERRIDE; 103 virtual base::string16 password() const override;
104 virtual base::string16 SuggestedText() OVERRIDE; 104 virtual base::string16 SuggestedText() override;
105 virtual const base::string16& HelpText() OVERRIDE; 105 virtual const base::string16& HelpText() override;
106 virtual const gfx::Range& HelpTextLinkRange() OVERRIDE; 106 virtual const gfx::Range& HelpTextLinkRange() override;
107 107
108 base::WeakPtr<PasswordGenerationPopupControllerImpl> GetWeakPtr(); 108 base::WeakPtr<PasswordGenerationPopupControllerImpl> GetWeakPtr();
109 109
110 bool HandleKeyPressEvent(const content::NativeWebKeyboardEvent& event); 110 bool HandleKeyPressEvent(const content::NativeWebKeyboardEvent& event);
111 111
112 // Set if the password is currently selected. 112 // Set if the password is currently selected.
113 void PasswordSelected(bool selected); 113 void PasswordSelected(bool selected);
114 114
115 // Accept the password. Causes the controller to hide itself as the popup 115 // Accept the password. Causes the controller to hide itself as the popup
116 // is no longer necessary. 116 // is no longer necessary.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 gfx::Rect popup_bounds_; 150 gfx::Rect popup_bounds_;
151 151
152 base::WeakPtrFactory<PasswordGenerationPopupControllerImpl> weak_ptr_factory_; 152 base::WeakPtrFactory<PasswordGenerationPopupControllerImpl> weak_ptr_factory_;
153 153
154 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupControllerImpl); 154 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupControllerImpl);
155 }; 155 };
156 156
157 } // namespace autofill 157 } // namespace autofill
158 158
159 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_ H_ 159 #endif // CHROME_BROWSER_UI_AUTOFILL_PASSWORD_GENERATION_POPUP_CONTROLLER_IMPL_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698