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

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

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromeos test failure Created 8 years, 3 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 | « chrome/browser/ui/panels/old_docked_panel_browsertest.cc ('k') | chrome/browser/ui/panels/old_panel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/old_panel.h
diff --git a/chrome/browser/ui/panels/old_panel.h b/chrome/browser/ui/panels/old_panel.h
deleted file mode 100644
index 6733ce0305f4ad8c3ece9f69559d0bf60d5dbb41..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/panels/old_panel.h
+++ /dev/null
@@ -1,42 +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_OLD_PANEL_H_
-#define CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_
-
-#include "chrome/browser/ui/panels/panel.h"
-
-class Browser;
-class PanelBrowserWindow;
-
-// Temporary class during the refactor to override behavior in Panel
-// to provide legacy behavior. Will be deleted after refactor is complete.
-class OldPanel : public Panel {
- public:
- OldPanel(Browser* browser,
- const gfx::Size& min_size, const gfx::Size& max_size);
- virtual ~OldPanel();
-
- // Overridden from Panel.
- virtual Browser* browser() const OVERRIDE;
- virtual BrowserWindow* browser_window() const OVERRIDE;
- virtual CommandUpdater* command_updater() OVERRIDE;
- virtual Profile* profile() const OVERRIDE;
- virtual void Initialize(const gfx::Rect& bounds, Browser* browser) OVERRIDE;
- virtual content::WebContents* GetWebContents() const OVERRIDE;
- virtual bool ShouldCloseWindow() OVERRIDE;
- virtual void OnWindowClosing() OVERRIDE;
- virtual void ExecuteCommandWithDisposition(
- int id,
- WindowOpenDisposition disposition) OVERRIDE;
- virtual gfx::Image GetCurrentPageIcon() const OVERRIDE;
-
- private:
- Browser* browser_; // Weak pointer. Owned by native panel.
-
- // A BrowserWindow for the browser to interact with.
- scoped_ptr<PanelBrowserWindow> panel_browser_window_;
-};
-
-#endif // CHROME_BROWSER_UI_PANELS_OLD_PANEL_H_
« no previous file with comments | « chrome/browser/ui/panels/old_docked_panel_browsertest.cc ('k') | chrome/browser/ui/panels/old_panel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698