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

Unified Diff: ui/views/test/test_widget_observer.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_delegate_mac.mm ('k') | ui/views/test/test_widget_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/test/test_widget_observer.h
diff --git a/ui/views/test/test_widget_observer.h b/ui/views/test/test_widget_observer.h
deleted file mode 100644
index 064db84e01c80c3246d913bc94b5eea0ed502e69..0000000000000000000000000000000000000000
--- a/ui/views/test/test_widget_observer.h
+++ /dev/null
@@ -1,37 +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_WIDGET_OBSERVER_H_
-#define UI_VIEWS_TEST_TEST_WIDGET_OBSERVER_H_
-
-#include <stddef.h>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/views/widget/widget_observer.h"
-
-namespace views {
-namespace test {
-
-// A Widget observer class used in the tests below to observe bubbles closing.
-class TestWidgetObserver : public WidgetObserver {
- public:
- explicit TestWidgetObserver(Widget* widget);
- virtual ~TestWidgetObserver();
-
- bool widget_closed() const { return widget_ == NULL; }
-
- private:
- // WidgetObserver overrides:
- virtual void OnWidgetDestroying(Widget* widget) override;
-
- Widget* widget_;
-
- DISALLOW_COPY_AND_ASSIGN(TestWidgetObserver);
-};
-
-} // namespace test
-} // namespace views
-
-#endif // UI_VIEWS_TEST_TEST_WIDGET_OBSERVER_H_
« no previous file with comments | « ui/views/test/test_views_delegate_mac.mm ('k') | ui/views/test/test_widget_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698