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

Unified Diff: ui/views/test/desktop_test_views_delegate_aura.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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 | « ui/views/test/desktop_test_views_delegate.h ('k') | ui/views/test/focus_manager_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/desktop_test_views_delegate_aura.cc
diff --git a/ui/views/test/desktop_test_views_delegate_aura.cc b/ui/views/test/desktop_test_views_delegate_aura.cc
deleted file mode 100644
index 96f639111474c8f9294c2905b98eaf6b9d9bfd32..0000000000000000000000000000000000000000
--- a/ui/views/test/desktop_test_views_delegate_aura.cc
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 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 "ui/views/test/desktop_test_views_delegate.h"
-
-#include "ui/views/widget/native_widget_aura.h"
-
-#if !defined(OS_CHROMEOS)
-#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
-#endif
-
-namespace views {
-
-DesktopTestViewsDelegate::DesktopTestViewsDelegate() {}
-
-DesktopTestViewsDelegate::~DesktopTestViewsDelegate() {}
-
-void DesktopTestViewsDelegate::OnBeforeWidgetInit(
- Widget::InitParams* params,
- internal::NativeWidgetDelegate* delegate) {
-#if !defined(OS_CHROMEOS)
- // If we already have a native_widget, we don't have to try to come
- // up with one.
- if (params->native_widget)
- return;
-
- if (params->parent &&
- params->type != views::Widget::InitParams::TYPE_MENU &&
- params->type != views::Widget::InitParams::TYPE_TOOLTIP) {
- params->native_widget = new views::NativeWidgetAura(delegate);
- } else {
- params->native_widget = new views::DesktopNativeWidgetAura(delegate);
- }
-#endif
-}
-
-} // namespace views
« no previous file with comments | « ui/views/test/desktop_test_views_delegate.h ('k') | ui/views/test/focus_manager_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698