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

Unified Diff: chrome/browser/ui/views/menu_test_base.cc

Issue 442633003: MacViews: Remove aura dependency from menu_test_base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/menu_test_base.cc
diff --git a/chrome/browser/ui/views/menu_test_base.cc b/chrome/browser/ui/views/menu_test_base.cc
index c06ebfe1e3670dcb1b3fe8b9c0229c6105ab90c5..4ec701c299f18409caf16db2aaf3add36ac3fe35 100644
--- a/chrome/browser/ui/views/menu_test_base.cc
+++ b/chrome/browser/ui/views/menu_test_base.cc
@@ -6,7 +6,6 @@
#include "chrome/browser/ui/views/menu_test_base.h"
#include "chrome/test/base/interactive_test_utils.h"
#include "chrome/test/base/ui_test_utils.h"
-#include "ui/aura/window.h"
#include "ui/base/test/ui_controls.h"
#include "ui/views/controls/button/menu_button.h"
#include "ui/views/controls/menu/menu_item_view.h"
@@ -33,7 +32,7 @@ void MenuTestBase::Click(views::View* view, const base::Closure& next) {
void MenuTestBase::KeyPress(ui::KeyboardCode keycode,
const base::Closure& next) {
ui_controls::SendKeyPressNotifyWhenDone(
- GetWidget()->GetNativeView()->GetRootWindow(), keycode, false, false,
+ GetWidget()->GetNativeWindow(), keycode, false, false,
sky 2014/08/05 17:18:32 This isn't necessarily the same thing. Does ui_con
tapted 2014/08/05 23:04:22 Yeah - I checked they all amount to the same thing
false, false, next);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698