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

Unified Diff: chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm

Issue 427009: Preliminary work toward page actions on Mac. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm
===================================================================
--- chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm (revision 34193)
+++ chrome/browser/cocoa/autocomplete_text_field_cell_unittest.mm (working copy)
@@ -21,7 +21,8 @@
class AutocompleteTextFieldCellTest : public CocoaTest {
public:
- AutocompleteTextFieldCellTest() : security_image_view_(NULL, NULL) {
+ AutocompleteTextFieldCellTest() : security_image_view_(NULL, NULL),
+ page_action_views_(NULL, NULL, NULL) {
// Make sure this is wide enough to play games with the cell
// decorations.
const NSRect frame = NSMakeRect(0, 0, kWidth, 30);
@@ -35,6 +36,7 @@
[cell setEditable:YES];
[cell setBordered:YES];
[cell setSecurityImageView:&security_image_view_];
+ [cell setPageActionViewList:&page_action_views_];
[view_ setCell:cell.get()];
[[test_window() contentView] addSubview:view_];
@@ -42,6 +44,7 @@
NSTextField* view_;
LocationBarViewMac::SecurityImageView security_image_view_;
+ LocationBarViewMac::PageActionViewList page_action_views_;
};
// Basic view tests (AddRemove, Display).
« no previous file with comments | « chrome/browser/cocoa/autocomplete_text_field_cell.mm ('k') | chrome/browser/cocoa/autocomplete_text_field_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698