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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm

Issue 24120005: Cleanup and IWYU-ify CocoaProfileTest and related tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include order Created 7 years, 3 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/mac/scoped_nsautorelease_pool.h" 7 #include "base/mac/scoped_nsautorelease_pool.h"
8 #include "chrome/browser/ui/browser_window.h" 8 #include "chrome/browser/ui/browser_window.h"
9 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" 9 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
10 #import "chrome/browser/ui/cocoa/new_tab_button.h" 10 #import "chrome/browser/ui/cocoa/new_tab_button.h"
11 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h" 11 #import "chrome/browser/ui/cocoa/tabs/tab_controller.h"
12 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" 12 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h"
13 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" 13 #import "chrome/browser/ui/cocoa/tabs/tab_strip_view.h"
14 #import "chrome/browser/ui/cocoa/tabs/tab_view.h" 14 #import "chrome/browser/ui/cocoa/tabs/tab_view.h"
15 #include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h" 15 #include "chrome/browser/ui/tabs/test_tab_strip_model_delegate.h"
16 #include "chrome/test/base/testing_profile.h"
16 #include "content/public/browser/site_instance.h" 17 #include "content/public/browser/site_instance.h"
17 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
18 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
19 #include "testing/platform_test.h" 20 #include "testing/platform_test.h"
20 #include "ui/base/test/cocoa_test_event_utils.h" 21 #include "ui/base/test/cocoa_test_event_utils.h"
21 22
22 using content::SiteInstance; 23 using content::SiteInstance;
23 using content::WebContents; 24 using content::WebContents;
24 25
25 @interface TestTabStripControllerDelegate 26 @interface TestTabStripControllerDelegate
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 281
281 model_->ActivateTabAt(0, false); 282 model_->ActivateTabAt(0, false);
282 EXPECT_TRUE([tab1 controller].selected); 283 EXPECT_TRUE([tab1 controller].selected);
283 EXPECT_FALSE([tab2 controller].selected); 284 EXPECT_FALSE([tab2 controller].selected);
284 value = 285 value =
285 [tab_strip_ accessibilityAttributeValue:NSAccessibilityValueAttribute]; 286 [tab_strip_ accessibilityAttributeValue:NSAccessibilityValueAttribute];
286 EXPECT_EQ(tab1, value); 287 EXPECT_EQ(tab1, value);
287 } 288 }
288 289
289 } // namespace 290 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabpose_window_unittest.mm ('k') | chrome/browser/ui/cocoa/toolbar/toolbar_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698