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

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

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 (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 #include <Carbon/Carbon.h>
6
5 #include "base/debug/debugger.h" 7 #include "base/debug/debugger.h"
6 #include "base/scoped_nsobject.h" 8 #include "base/scoped_nsobject.h"
7 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
8 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h" 10 #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 11 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
10 #import "chrome/browser/ui/cocoa/browser_frame_view.h" 12 #import "chrome/browser/ui/cocoa/browser_frame_view.h"
11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 13 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
12 #import "third_party/ocmock/OCMock/OCMock.h" 14 #import "third_party/ocmock/OCMock/OCMock.h"
13 15
14 namespace { 16 namespace {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 97
96 [window_ setDelegate:delegate]; 98 [window_ setDelegate:delegate];
97 [window_ performKeyEquivalent:event]; 99 [window_ performKeyEquivalent:event];
98 100
99 // Don't wish to mock all the way down... 101 // Don't wish to mock all the way down...
100 [window_ setDelegate:nil]; 102 [window_ setDelegate:nil];
101 [delegate verify]; 103 [delegate verify];
102 } 104 }
103 105
104 } // namespace 106 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/bug_report_window_controller.mm ('k') | chrome/browser/ui/cocoa/clear_browsing_data_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698