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

Unified Diff: chrome/browser/ui/panels/test_panel_collection_squeeze_observer.h

Issue 2263863002: Remove implementation of Panels on OSes other than ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR feedback Created 4 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
Index: chrome/browser/ui/panels/test_panel_collection_squeeze_observer.h
diff --git a/chrome/browser/ui/panels/test_panel_collection_squeeze_observer.h b/chrome/browser/ui/panels/test_panel_collection_squeeze_observer.h
deleted file mode 100644
index af22ee2c3fdd4d1fb5e0ef15ad2fbe8037668a61..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/panels/test_panel_collection_squeeze_observer.h
+++ /dev/null
@@ -1,39 +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 CHROME_BROWSER_UI_PANELS_TEST_PANEL_COLLECTION_SQUEEZE_OBSERVER_H_
-#define CHROME_BROWSER_UI_PANELS_TEST_PANEL_COLLECTION_SQUEEZE_OBSERVER_H_
-
-#include "base/macros.h"
-#include "chrome/browser/ui/panels/test_panel_notification_observer.h"
-
-class DockedPanelCollection;
-class Panel;
-
-// Custom notification observer for waiting on panel collection that squeezes
-// its panels to reflect a certain state.
-// Modeled after ui_test_utils notification observers.
-class PanelCollectionSqueezeObserver : public TestPanelNotificationObserver {
- public:
- // Register to listen for panel collection updated notifications
- // from the specified collection to detect a change to the state
- // where the |active_panel| is at full width and all other
- // panels in the collection are squeezed.
- PanelCollectionSqueezeObserver(DockedPanelCollection* collection,
- Panel* active_panel);
- ~PanelCollectionSqueezeObserver() override;
-
- private:
- // TestNotificationObserver override:
- bool AtExpectedState() override;
-
- bool IsSqueezed(Panel* panel);
-
- DockedPanelCollection* panel_collection_;
- Panel* active_panel_;
-
- DISALLOW_COPY_AND_ASSIGN(PanelCollectionSqueezeObserver);
-};
-
-#endif // CHROME_BROWSER_UI_PANELS_TEST_PANEL_COLLECTION_SQUEEZE_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698