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

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

Issue 10532162: Rename IPC Sender and Listener in ppapi, content/public, and content/renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 "chrome/browser/ui/cocoa/tabpose_window.h" 5 #import "chrome/browser/ui/cocoa/tabpose_window.h"
6 6
7 #import "chrome/browser/ui/browser_window.h" 7 #import "chrome/browser/ui/browser_window.h"
8 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" 8 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h"
9 #include "chrome/browser/ui/tab_contents/tab_contents.h" 9 #include "chrome/browser/ui/tab_contents/tab_contents.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
11 #include "content/public/browser/site_instance.h" 11 #include "content/public/browser/site_instance.h"
12 #include "ipc/ipc_message.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 using content::SiteInstance; 15 using content::SiteInstance;
15 16
16 class TabposeWindowTest : public CocoaProfileTest { 17 class TabposeWindowTest : public CocoaProfileTest {
17 public: 18 public:
18 virtual void SetUp() { 19 virtual void SetUp() {
19 CocoaProfileTest::SetUp(); 20 CocoaProfileTest::SetUp();
20 ASSERT_TRUE(profile()); 21 ASSERT_TRUE(profile());
21 22
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 DCHECK_EQ([window selectedIndex], 0); 108 DCHECK_EQ([window selectedIndex], 0);
108 109
109 [window selectTileAtIndexWithoutAnimation:1]; 110 [window selectTileAtIndexWithoutAnimation:1];
110 model->CloseTabContentsAt(0, TabStripModel::CLOSE_NONE); 111 model->CloseTabContentsAt(0, TabStripModel::CLOSE_NONE);
111 DCHECK_EQ([window thumbnailLayerCount], 1u); 112 DCHECK_EQ([window thumbnailLayerCount], 1u);
112 DCHECK_EQ([window selectedIndex], 0); 113 DCHECK_EQ([window selectedIndex], 0);
113 114
114 // Should release the window. 115 // Should release the window.
115 [window mouseDown:nil]; 116 [window mouseDown:nil];
116 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698