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

Side by Side Diff: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest.mm

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "base/mac/cocoa_protocols.h"
8 #include "base/memory/scoped_nsobject.h" 7 #include "base/memory/scoped_nsobject.h"
9 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h" 8 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.h"
10 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h" 9 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.h"
11 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h" 10 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h"
12 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest_h elper.h" 11 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_unittest_h elper.h"
13 #import "chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h" 12 #import "chrome/browser/ui/cocoa/location_bar/location_bar_decoration.h"
14 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 13 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
15 #include "grit/theme_resources.h" 14 #include "grit/theme_resources.h"
16 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 scoped_nsobject<AutocompleteTextField> pin([field_ retain]); 784 scoped_nsobject<AutocompleteTextField> pin([field_ retain]);
786 [field_ removeFromSuperview]; 785 [field_ removeFromSuperview];
787 [test_window() resignKeyWindow]; 786 [test_window() resignKeyWindow];
788 787
789 [[test_window() contentView] addSubview:field_]; 788 [[test_window() contentView] addSubview:field_];
790 EXPECT_CALL(field_observer_, ClosePopup()); 789 EXPECT_CALL(field_observer_, ClosePopup());
791 [test_window() resignKeyWindow]; 790 [test_window() resignKeyWindow];
792 } 791 }
793 792
794 } // namespace 793 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698