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

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

Issue 663643002: requestAutocomplete (desktop): don't get stuck in infinite loop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix tests 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_AUTOFILL_DIALOG_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_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 "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void UpdateForErrors() override; 44 virtual void UpdateForErrors() override;
45 virtual void UpdateNotificationArea() override; 45 virtual void UpdateNotificationArea() override;
46 virtual void UpdateSection(DialogSection section) override; 46 virtual void UpdateSection(DialogSection section) override;
47 virtual void UpdateErrorBubble() override; 47 virtual void UpdateErrorBubble() override;
48 virtual void FillSection(DialogSection section, 48 virtual void FillSection(DialogSection section,
49 ServerFieldType originating_type) override; 49 ServerFieldType originating_type) override;
50 virtual void GetUserInput(DialogSection section, 50 virtual void GetUserInput(DialogSection section,
51 FieldValueMap* output) override; 51 FieldValueMap* output) override;
52 virtual base::string16 GetCvc() override; 52 virtual base::string16 GetCvc() override;
53 virtual bool SaveDetailsLocally() override; 53 virtual bool SaveDetailsLocally() override;
54 virtual const content::NavigationController* ShowSignIn() override; 54 virtual const content::NavigationController* ShowSignIn(
55 const GURL& url) override;
55 virtual void HideSignIn() override; 56 virtual void HideSignIn() override;
56 virtual void ModelChanged() override; 57 virtual void ModelChanged() override;
57 virtual void OnSignInResize(const gfx::Size& pref_size) override; 58 virtual void OnSignInResize(const gfx::Size& pref_size) override;
58 virtual void ValidateSection(DialogSection section) override; 59 virtual void ValidateSection(DialogSection section) override;
59 60
60 // ConstrainedWindowMacDelegate implementation: 61 // ConstrainedWindowMacDelegate implementation:
61 virtual void OnConstrainedWindowClosed( 62 virtual void OnConstrainedWindowClosed(
62 ConstrainedWindowMac* window) override; 63 ConstrainedWindowMac* window) override;
63 64
64 AutofillDialogViewDelegate* delegate() { return delegate_; } 65 AutofillDialogViewDelegate* delegate() { return delegate_; }
(...skipping 14 matching lines...) Expand all
79 AutofillDialogViewDelegate* delegate_; 80 AutofillDialogViewDelegate* delegate_;
80 81
81 // WeakPtrFactory for deferred close. 82 // WeakPtrFactory for deferred close.
82 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_; 83 base::WeakPtrFactory<AutofillDialogCocoa> close_weak_ptr_factory_;
83 84
84 }; 85 };
85 86
86 } // autofill 87 } // autofill
87 88
88 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_ 89 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/autofill/autofill_dialog_view_delegate.h ('k') | chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698