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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/card_unmask_prompt_view_bridge.h

Issue 1038503003: Autofill OSX: Add PermanentErrorMessage box and label. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace +sizeTextField with WrapOrSizeToFit() and make label autoresize. Created 5 years, 8 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) 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } // autofill 49 } // autofill
50 50
51 @interface CardUnmaskPromptViewCocoa 51 @interface CardUnmaskPromptViewCocoa
52 : NSViewController<NSWindowDelegate, NSTextFieldDelegate> 52 : NSViewController<NSWindowDelegate, NSTextFieldDelegate>
53 53
54 // Designated initializer. |bridge| must not be NULL. 54 // Designated initializer. |bridge| must not be NULL.
55 - (id)initWithBridge:(autofill::CardUnmaskPromptViewBridge*)bridge; 55 - (id)initWithBridge:(autofill::CardUnmaskPromptViewBridge*)bridge;
56 56
57 - (void)setProgressOverlayText:(const base::string16&)text; 57 - (void)setProgressOverlayText:(const base::string16&)text;
58 - (void)setRetriableErrorMessage:(const base::string16&)text; 58 - (void)setRetriableErrorMessage:(const base::string16&)text;
59 - (void)setPermanentErrorMessage:(const base::string16&)text;
60
61 // Layout the dialog and redisplay it.
62 - (void)performLayout;
59 63
60 @end 64 @end
61 65
62 #endif // CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_ 66 #endif // CHROME_BROWSER_UI_COCOA_CARD_UNMASK_PROMPT_VIEW_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698