Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ | 6 #define CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ |
| 7 | 7 |
| 8 #include "base/mac/scoped_nsobject.h" | 8 #include "base/mac/scoped_nsobject.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h" | 10 #include "chrome/browser/ui/autofill/card_unmask_prompt_view.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // autofill | 47 } // autofill |
| 48 | 48 |
| 49 @interface CardUnmaskPromptViewCocoa | 49 @interface CardUnmaskPromptViewCocoa |
| 50 : NSViewController<NSWindowDelegate, NSTextFieldDelegate> | 50 : NSViewController<NSWindowDelegate, NSTextFieldDelegate> |
| 51 | 51 |
| 52 // Designated initializer. |bridge| must not be NULL. | 52 // Designated initializer. |bridge| must not be NULL. |
| 53 - (id)initWithBridge:(autofill::CardUnmaskPromptViewBridge*)bridge; | 53 - (id)initWithBridge:(autofill::CardUnmaskPromptViewBridge*)bridge; |
| 54 | 54 |
| 55 - (void)setInputsEnabled:(BOOL)enabled; | 55 - (void)setInputRowHidden:(BOOL)hidden; |
| 56 - (void)setProgressOverlayHidden:(BOOL)hidden; | |
|
groby-ooo-7-16
2015/03/18 07:10:05
Can we make do with a single entry point, instead
bondd
2015/03/18 22:01:39
Reduced it to one entry point as suggested.
API is
| |
| 57 - (void)setProgressOverlayText:(const base::string16&)text; | |
| 56 - (void)updateVerifyButtonEnabled; | 58 - (void)updateVerifyButtonEnabled; |
| 57 | 59 |
| 58 @end | 60 @end |
| 59 | 61 |
| 60 #endif // CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ | 62 #endif // CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ |
| OLD | NEW |