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

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

Issue 6362007: [Mac] Organize all tab/tab strip files into chrome/browser/ui/cocoa/tabs/.... (Closed) Base URL: svn://svn.chromium.org/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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "base/scoped_nsobject.h" 7 #include "base/scoped_nsobject.h"
8 #import "chrome/browser/ui/cocoa/tab_view.h" 8 #import "chrome/browser/ui/cocoa/tabs/tab_view.h"
9 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 9 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
Avi (use Gerrit) 2011/01/19 19:30:23 Alphabetize.
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "testing/platform_test.h" 11 #include "testing/platform_test.h"
12 12
13 namespace { 13 namespace {
14 14
15 class TabViewTest : public CocoaTest { 15 class TabViewTest : public CocoaTest {
16 public: 16 public:
17 TabViewTest() { 17 TabViewTest() {
18 NSRect frame = NSMakeRect(0, 0, 50, 30); 18 NSRect frame = NSMakeRect(0, 0, 50, 30);
19 scoped_nsobject<TabView> view([[TabView alloc] initWithFrame:frame]); 19 scoped_nsobject<TabView> view([[TabView alloc] initWithFrame:frame]);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 [view_ startAlert]; 51 [view_ startAlert];
52 [view_ cancelAlert]; 52 [view_ cancelAlert];
53 } 53 }
54 [view_ startAlert]; 54 [view_ startAlert];
55 [view_ startAlert]; 55 [view_ startAlert];
56 [view_ cancelAlert]; 56 [view_ cancelAlert];
57 [view_ cancelAlert]; 57 [view_ cancelAlert];
58 } 58 }
59 59
60 } // namespace 60 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698