Chromium Code Reviews| 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_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_BRIDGE_H _ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_BRIDGE_H _ |
| 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_BRIDGE_H _ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_BRIDGE_H _ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 virtual void Hide() OVERRIDE; | 33 virtual void Hide() OVERRIDE; |
| 34 virtual void Show() OVERRIDE; | 34 virtual void Show() OVERRIDE; |
| 35 virtual gfx::Size GetPreferredSizeOfPasswordView() OVERRIDE; | 35 virtual gfx::Size GetPreferredSizeOfPasswordView() OVERRIDE; |
| 36 virtual void UpdateBoundsAndRedrawPopup() OVERRIDE; | 36 virtual void UpdateBoundsAndRedrawPopup() OVERRIDE; |
| 37 virtual void PasswordSelectionUpdated() OVERRIDE; | 37 virtual void PasswordSelectionUpdated() OVERRIDE; |
| 38 virtual bool IsPointInPasswordBounds(const gfx::Point& point) OVERRIDE; | 38 virtual bool IsPointInPasswordBounds(const gfx::Point& point) OVERRIDE; |
| 39 | 39 |
| 40 // The native Cocoa view. | 40 // The native Cocoa view. |
| 41 base::scoped_nsobject<PasswordGenerationPopupViewCocoa> view_; | 41 base::scoped_nsobject<PasswordGenerationPopupViewCocoa> view_; |
| 42 | 42 |
| 43 // The cross-platform controller. | |
| 44 PasswordGenerationPopupController* controller_; // weak | |
|
Ilya Sherman
2014/08/19 22:32:17
Where is this used?
dconnelly
2014/08/20 17:07:05
It's not. Forgot to remove. Done.
| |
| 45 | |
| 43 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupViewBridge); | 46 DISALLOW_COPY_AND_ASSIGN(PasswordGenerationPopupViewBridge); |
| 44 }; | 47 }; |
| 45 | 48 |
| 46 } // namespace autofill | 49 } // namespace autofill |
| 47 | 50 |
| 48 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_BRIDG E_H_ | 51 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_PASSWORD_GENERATION_POPUP_VIEW_BRIDG E_H_ |
| OLD | NEW |