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

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

Issue 6358008: [Mac] Organize some files into chrome/browser/ui/cocoa/tab_contents/.... (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
(Empty)
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
3 // found in the LICENSE file.
4
5 #import "chrome/browser/ui/cocoa/sad_tab_view.h"
6 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
7
8 namespace {
9
10 class SadTabViewTest : public CocoaTest {
11 public:
12 SadTabViewTest() {
13 NSRect content_frame = [[test_window() contentView] frame];
14 scoped_nsobject<SadTabView> view([[SadTabView alloc]
15 initWithFrame:content_frame]);
16 view_ = view.get();
17 [[test_window() contentView] addSubview:view_];
18 }
19
20 SadTabView* view_; // Weak. Owned by the view hierarchy.
21 };
22
23 TEST_VIEW(SadTabViewTest, view_);
24
25 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698