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

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

Issue 16012017: Use a direct include of strings headers in chrome/browser/ui/cocoa/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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) 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 #include "base/mac/mac_util.h" 5 #include "base/mac/mac_util.h"
6 #include "base/memory/scoped_nsobject.h" 6 #include "base/memory/scoped_nsobject.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" 9 #include "chrome/browser/ui/bookmarks/bookmark_utils.h"
10 #import "chrome/browser/ui/cocoa/browser_window_cocoa.h" 10 #import "chrome/browser/ui/cocoa/browser_window_cocoa.h"
11 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 11 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
12 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" 12 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
13 #include "chrome/common/chrome_notification_types.h" 13 #include "chrome/common/chrome_notification_types.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "content/public/browser/notification_details.h" 15 #include "content/public/browser/notification_details.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #import "third_party/ocmock/gtest_support.h" 17 #import "third_party/ocmock/gtest_support.h"
18 #import "third_party/ocmock/OCMock/OCMock.h" 18 #import "third_party/ocmock/OCMock/OCMock.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 [[[window_ stub] andReturn:nil] delegate]; 227 [[[window_ stub] andReturn:nil] delegate];
228 [[[controller_ stub] andReturn:window_] window]; 228 [[[controller_ stub] andReturn:window_] window];
229 [[window_ expect] orderOut:nil]; 229 [[window_ expect] orderOut:nil];
230 [[window_ expect] close]; 230 [[window_ expect] close];
231 CreateAndCloseBrowserWindow(); 231 CreateAndCloseBrowserWindow();
232 EXPECT_OCMOCK_VERIFY(controller_); 232 EXPECT_OCMOCK_VERIFY(controller_);
233 EXPECT_OCMOCK_VERIFY(window_); 233 EXPECT_OCMOCK_VERIFY(window_);
234 } 234 }
235 235
236 // TODO(???): test other methods of BrowserWindowCocoa 236 // TODO(???): test other methods of BrowserWindowCocoa
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698