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

Side by Side Diff: chrome/browser/cocoa/autocomplete_text_field_unittest_helper.h

Issue 348069: Restoring r29827.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_AUTOCOMPLETE_TEXT_FIELD_UNITTEST_HELPER_H_ 5 #ifndef CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_UNITTEST_HELPER_H_
6 #define CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_UNITTEST_HELPER_H_ 6 #define CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_UNITTEST_HELPER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/cocoa_protocols_mac.h" 10 #import "base/cocoa_protocols_mac.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // Any method you add here needs a unit test. You knew that. 33 // Any method you add here needs a unit test. You knew that.
34 34
35 class MockAutocompleteTextFieldObserver : public AutocompleteTextFieldObserver { 35 class MockAutocompleteTextFieldObserver : public AutocompleteTextFieldObserver {
36 public: 36 public:
37 MOCK_METHOD1(OnControlKeyChanged, void(bool pressed)); 37 MOCK_METHOD1(OnControlKeyChanged, void(bool pressed));
38 MOCK_METHOD0(OnPaste, void()); 38 MOCK_METHOD0(OnPaste, void());
39 MOCK_METHOD0(CanPasteAndGo, bool()); 39 MOCK_METHOD0(CanPasteAndGo, bool());
40 MOCK_METHOD0(GetPasteActionStringId, int()); 40 MOCK_METHOD0(GetPasteActionStringId, int());
41 MOCK_METHOD0(OnPasteAndGo, void()); 41 MOCK_METHOD0(OnPasteAndGo, void());
42 MOCK_METHOD0(OnSecurityIconClicked, void());
43 MOCK_METHOD0(OnFrameChanged, void()); 42 MOCK_METHOD0(OnFrameChanged, void());
44 }; 43 };
45 44
46 } // namespace 45 } // namespace
47 46
48 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_UNITTEST_HELPER_H_ 47 #endif // CHROME_BROWSER_COCOA_AUTOCOMPLETE_TEXT_FIELD_UNITTEST_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/autocomplete_text_field_unittest.mm ('k') | chrome/browser/cocoa/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698