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

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

Issue 144073004: rAc: remove bold section labels on linux_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ui::ResourceBundle::BoldOnlyIfItLooksGood() Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "chrome/browser/ui/autofill/autofill_dialog_view_delegate.h" 9 #include "chrome/browser/ui/autofill/autofill_dialog_view_delegate.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 29 matching lines...) Expand all
40 MOCK_CONST_METHOD0(GetDialogButtons, int()); 40 MOCK_CONST_METHOD0(GetDialogButtons, int());
41 MOCK_CONST_METHOD1(IsDialogButtonEnabled, bool(ui::DialogButton button)); 41 MOCK_CONST_METHOD1(IsDialogButtonEnabled, bool(ui::DialogButton button));
42 MOCK_METHOD0(GetDialogOverlay, DialogOverlayState()); 42 MOCK_METHOD0(GetDialogOverlay, DialogOverlayState());
43 MOCK_METHOD0(LegalDocumentLinks, const std::vector<gfx::Range>&()); 43 MOCK_METHOD0(LegalDocumentLinks, const std::vector<gfx::Range>&());
44 MOCK_CONST_METHOD1(SectionIsActive, bool(DialogSection)); 44 MOCK_CONST_METHOD1(SectionIsActive, bool(DialogSection));
45 MOCK_CONST_METHOD1(RequestedFieldsForSection, 45 MOCK_CONST_METHOD1(RequestedFieldsForSection,
46 const DetailInputs&(DialogSection)); 46 const DetailInputs&(DialogSection));
47 MOCK_METHOD1(ComboboxModelForAutofillType, 47 MOCK_METHOD1(ComboboxModelForAutofillType,
48 ui::ComboboxModel*(ServerFieldType)); 48 ui::ComboboxModel*(ServerFieldType));
49 MOCK_METHOD1(MenuModelForSection, ui::MenuModel*(DialogSection)); 49 MOCK_METHOD1(MenuModelForSection, ui::MenuModel*(DialogSection));
50 MOCK_CONST_METHOD1(LabelForSection, base::string16(DialogSection section)); 50 MOCK_CONST_METHOD1(LabelForSection, SectionLabel(DialogSection section));
51 MOCK_METHOD1(SuggestionStateForSection, SuggestionState(DialogSection)); 51 MOCK_METHOD1(SuggestionStateForSection, SuggestionState(DialogSection));
52 MOCK_METHOD1(EditClickedForSection, void(DialogSection section)); 52 MOCK_METHOD1(EditClickedForSection, void(DialogSection section));
53 MOCK_METHOD1(EditCancelledForSection, void(DialogSection section)); 53 MOCK_METHOD1(EditCancelledForSection, void(DialogSection section));
54 MOCK_CONST_METHOD1(IconsForFields, FieldIconMap(const FieldValueMap&)); 54 MOCK_CONST_METHOD1(IconsForFields, FieldIconMap(const FieldValueMap&));
55 MOCK_CONST_METHOD1(FieldControlsIcons, bool(ServerFieldType)); 55 MOCK_CONST_METHOD1(FieldControlsIcons, bool(ServerFieldType));
56 MOCK_CONST_METHOD1(TooltipForField, base::string16(ServerFieldType)); 56 MOCK_CONST_METHOD1(TooltipForField, base::string16(ServerFieldType));
57 MOCK_METHOD2(InputIsEditable, bool(const DetailInput& input, 57 MOCK_METHOD2(InputIsEditable, bool(const DetailInput& input,
58 DialogSection section)); 58 DialogSection section));
59 MOCK_METHOD3(InputValidityMessage, 59 MOCK_METHOD3(InputValidityMessage,
60 base::string16(DialogSection, ServerFieldType, const base::string16&)); 60 base::string16(DialogSection, ServerFieldType, const base::string16&));
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 DetailInputs default_inputs_; 93 DetailInputs default_inputs_;
94 DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC. 94 DetailInputs cc_default_inputs_; // Default inputs for SECTION_CC.
95 std::vector<gfx::Range> range_; 95 std::vector<gfx::Range> range_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(MockAutofillDialogViewDelegate); 97 DISALLOW_COPY_AND_ASSIGN(MockAutofillDialogViewDelegate);
98 }; 98 };
99 99
100 } // namespace autofill 100 } // namespace autofill
101 101
102 #endif // CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_ 102 #endif // CHROME_BROWSER_UI_AUTOFILL_MOCK_AUTOFILL_DIALOG_VIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698