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

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

Issue 171783003: rAc: partial revert of 251484 to show correct sections in views dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | Annotate | Revision Log
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_AUTOFILL_DIALOG_VIEW_TESTER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" 10 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void ActivateInput(ServerFieldType type) = 0; 48 virtual void ActivateInput(ServerFieldType type) = 0;
49 49
50 // Get the size of the entire view. 50 // Get the size of the entire view.
51 virtual gfx::Size GetSize() const = 0; 51 virtual gfx::Size GetSize() const = 0;
52 52
53 // Get the web contents used to sign in to Google. 53 // Get the web contents used to sign in to Google.
54 virtual content::WebContents* GetSignInWebContents() = 0; 54 virtual content::WebContents* GetSignInWebContents() = 0;
55 55
56 // Whether the overlay is visible. 56 // Whether the overlay is visible.
57 virtual bool IsShowingOverlay() const = 0; 57 virtual bool IsShowingOverlay() const = 0;
58
59 // Whether |section| is currently showing.
60 virtual bool IsShowingSection(DialogSection section) const = 0;
58 }; 61 };
59 62
60 } // namespace autofill 63 } // namespace autofill
61 64
62 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_ 65 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_VIEW_TESTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698