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

Unified Diff: ui/views/test/test_views_delegate.h

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/test_views.cc ('k') | ui/views/test/test_views_delegate_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_views_delegate.h
diff --git a/ui/views/test/test_views_delegate.h b/ui/views/test/test_views_delegate.h
deleted file mode 100644
index 20802e7104e7f40744d50ce47470bbfcc4c64775..0000000000000000000000000000000000000000
--- a/ui/views/test/test_views_delegate.h
+++ /dev/null
@@ -1,54 +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.
-
-#ifndef UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
-#define UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "ui/views/views_delegate.h"
-
-namespace wm {
-class WMState;
-}
-
-namespace views {
-
-class TestViewsDelegate : public ViewsDelegate {
- public:
- TestViewsDelegate();
- virtual ~TestViewsDelegate();
-
- // If set to |true|, forces widgets that do not provide a native widget to use
- // DesktopNativeWidgetAura instead of whatever the default native widget would
- // be. This has no effect on ChromeOS.
- void set_use_desktop_native_widgets(bool desktop) {
- use_desktop_native_widgets_ = desktop;
- }
-
- void set_use_transparent_windows(bool transparent) {
- use_transparent_windows_ = transparent;
- }
-
- // ViewsDelegate:
- virtual void OnBeforeWidgetInit(
- Widget::InitParams* params,
- internal::NativeWidgetDelegate* delegate) override;
-
- private:
- bool use_desktop_native_widgets_;
-
- bool use_transparent_windows_;
-
-#if defined(USE_AURA)
- scoped_ptr<wm::WMState> wm_state_;
-
- ui::ContextFactory* context_factory_;
-#endif
-
- DISALLOW_COPY_AND_ASSIGN(TestViewsDelegate);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_TEST_TEST_VIEWS_DELEGATE_H_
« no previous file with comments | « ui/views/test/test_views.cc ('k') | ui/views/test/test_views_delegate_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698