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

Unified Diff: content/browser/tab_contents/web_contents_view_mac_unittest.mm

Issue 10024066: TabContents -> WebContentsImpl, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/tab_contents/web_contents_view_mac_unittest.mm
diff --git a/content/browser/tab_contents/web_contents_view_mac_unittest.mm b/content/browser/tab_contents/web_contents_view_mac_unittest.mm
deleted file mode 100644
index 9c9433dd72ee15776cd76c77b0fb592683e3b363..0000000000000000000000000000000000000000
--- a/content/browser/tab_contents/web_contents_view_mac_unittest.mm
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#import "content/browser/tab_contents/web_contents_view_mac.h"
-
-#include "base/memory/scoped_nsobject.h"
-#import "ui/base/test/ui_cocoa_test_helper.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "testing/platform_test.h"
-
-namespace {
-
-class WebContentsViewCocoaTest : public ui::CocoaTest {
-};
-
-TEST_F(WebContentsViewCocoaTest, NonWebDragSourceTest) {
- scoped_nsobject<WebContentsViewCocoa>
- view([[WebContentsViewCocoa alloc] init]);
-
- // Tests that |draggingSourceOperationMaskForLocal:| returns the expected mask
- // when dragging without a WebDragSource - i.e. when |startDragWithDropData:|
- // hasn't yet been called. Dragging a file from the downloads manager, for
- // example, requires this to work.
- EXPECT_EQ(NSDragOperationCopy,
- [view draggingSourceOperationMaskForLocal:YES]);
- EXPECT_EQ(NSDragOperationCopy,
- [view draggingSourceOperationMaskForLocal:NO]);
-}
-
-} // namespace

Powered by Google App Engine
This is Rietveld 408576698