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

Unified Diff: chrome/test/ui_test_utils_mac.cc

Issue 2986004: [Mac]Port browser_keyevents_browsertest.cc and browser_focus_uitest.cc to Mac. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Enable BrowserFocusTest and BrowserKeyEventsTests on Mac. Created 10 years, 5 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
« no previous file with comments | « chrome/test/ui_test_utils_linux.cc ('k') | chrome/test/ui_test_utils_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui_test_utils_mac.cc
diff --git a/chrome/test/ui_test_utils_mac.cc b/chrome/test/ui_test_utils_mac.cc
deleted file mode 100644
index c763a10dfdbda77b8cafe427b45637758191ffbd..0000000000000000000000000000000000000000
--- a/chrome/test/ui_test_utils_mac.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2009 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.
-
-#include "chrome/test/ui_test_utils.h"
-
-#include "base/logging.h"
-
-namespace ui_test_utils {
-
-// Details on why these are unimplemented: ViewIDs are defined in
-// chrome/browser/view_ids.h. For Cocoa (unlike Views GTK) we don't
-// associate ViewIDs with NSViews.
-//
-// Here's an idea on how to implement.
-// - associate the correct ViewID with an NSView on construction (the most work)
-// - create a mapping table, such as chrome/browser/gtk/view_id_util.h
-// - IsViewFocused() then becomes
-// [browser->window()->GetNativeHandle() firstResponder]
-// - ClickOnView() becomes a normal NSMouseDown event forge at the right coords
-
-bool IsViewFocused(const Browser* browser, ViewID vid) {
- NOTIMPLEMENTED();
- return false;
-}
-
-void ClickOnView(const Browser* browser, ViewID vid) {
- NOTIMPLEMENTED();
-}
-
-} // namespace ui_test_utils
« no previous file with comments | « chrome/test/ui_test_utils_linux.cc ('k') | chrome/test/ui_test_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698