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

Side by Side Diff: chrome/browser/ui/cocoa/chrome_event_processing_window_unittest.mm

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include <Carbon/Carbon.h> 5 #include <Carbon/Carbon.h>
6 6
7 #include "base/debug/debugger.h" 7 #include "base/debug/debugger.h"
8 #include "base/mac/scoped_nsobject.h"
9 #include "chrome/app/chrome_command_ids.h" 8 #include "chrome/app/chrome_command_ids.h"
10 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 9 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
11 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 10 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
12 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
13 #import "third_party/ocmock/OCMock/OCMock.h" 12 #import "third_party/ocmock/OCMock/OCMock.h"
14 #include "third_party/ocmock/gtest_support.h" 13 #include "third_party/ocmock/gtest_support.h"
15 #import "third_party/ocmock/ocmock_extensions.h" 14 #import "third_party/ocmock/ocmock_extensions.h"
16 15
17 namespace { 16 namespace {
18 17
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 94
96 [window_ setDelegate:delegate]; 95 [window_ setDelegate:delegate];
97 [window_ performKeyEquivalent:event]; 96 [window_ performKeyEquivalent:event];
98 97
99 // Don't wish to mock all the way down... 98 // Don't wish to mock all the way down...
100 [window_ setDelegate:nil]; 99 [window_ setDelegate:nil];
101 EXPECT_OCMOCK_VERIFY(delegate); 100 EXPECT_OCMOCK_VERIFY(delegate);
102 } 101 }
103 102
104 } // namespace 103 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/chrome_event_processing_window.h ('k') | chrome/browser/ui/cocoa/clickhold_button_cell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698