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

Side by Side Diff: chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa_unittest.mm

Issue 2261793002: Bring the feedback button to the Mac sad tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address second wave of comments, turn off feedback in non-Chrome builds Created 4 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
« no previous file with comments | « chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm ('k') | chrome/browser/ui/sad_tab.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/tab_contents/sad_tab_view_cocoa.h"
6
7 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
8
9 namespace {
10
11 class SadTabViewTest : public CocoaTest {
12 public:
13 SadTabViewTest() {
14 NSRect content_frame = [[test_window() contentView] frame];
15 base::scoped_nsobject<SadTabView> view(
16 [[SadTabView alloc] initWithFrame:content_frame]);
17 view_ = view.get();
18 [[test_window() contentView] addSubview:view_];
19 }
20
21 SadTabView* view_; // Weak. Owned by the view hierarchy.
22 };
23
24 TEST_VIEW(SadTabViewTest, view_);
25
26 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tab_contents/sad_tab_view_cocoa.mm ('k') | chrome/browser/ui/sad_tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698