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

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

Issue 17627005: mac: Remove unused includes of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: builds 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #import "base/mac/scoped_nsobject.h"
8 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" 7 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h"
9 #import "chrome/browser/ui/cocoa/hung_renderer_controller.h" 8 #import "chrome/browser/ui/cocoa/hung_renderer_controller.h"
10 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
11 #include "testing/platform_test.h" 10 #include "testing/platform_test.h"
12 11
13 namespace { 12 namespace {
14 13
15 class HungRendererControllerTest : public CocoaTest { 14 class HungRendererControllerTest : public CocoaTest {
16 public: 15 public:
17 virtual void SetUp() { 16 virtual void SetUp() {
(...skipping 23 matching lines...) Expand all
41 TEST_F(HungRendererControllerTest, TestWaitButton) { 40 TEST_F(HungRendererControllerTest, TestWaitButton) {
42 // We can't test waiting because we have no running process to wait 41 // We can't test waiting because we have no running process to wait
43 // for, but we can make sure that pressing the wait button closes 42 // for, but we can make sure that pressing the wait button closes
44 // the window. 43 // the window.
45 [hung_renderer_controller_ showWindow:nil]; 44 [hung_renderer_controller_ showWindow:nil];
46 [[hung_renderer_controller_ waitButton] performClick:nil]; 45 [[hung_renderer_controller_ waitButton] performClick:nil];
47 } 46 }
48 47
49 } // namespace 48 } // namespace
50 49
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/hover_close_button.mm ('k') | chrome/browser/ui/cocoa/info_bubble_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698