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

Unified Diff: ui/oak/oak_window.h

Issue 173183002: Remove oak windows and its flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove one more oak.gyp reference Created 6 years, 10 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/oak/oak_tree_model.cc ('k') | ui/oak/oak_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/oak/oak_window.h
diff --git a/ui/oak/oak_window.h b/ui/oak/oak_window.h
deleted file mode 100644
index 087334e22262587320336d8d0145e88af13f4111..0000000000000000000000000000000000000000
--- a/ui/oak/oak_window.h
+++ /dev/null
@@ -1,67 +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_OAK_OAK_WINDOW_H_
-#define UI_OAK_OAK_WINDOW_H_
-
-#include "ui/oak/oak_tree_model.h"
-#include "ui/views/controls/tree/tree_view_controller.h"
-#include "ui/views/widget/widget_delegate.h"
-
-namespace views {
-class TableView;
-}
-
-namespace oak {
-namespace internal {
-
-class OakTreeModel;
-class OakDetailsModel;
-
-class OakWindow : public views::WidgetDelegateView,
- public views::TreeViewController {
- public:
- OakWindow();
- virtual ~OakWindow();
-
- static views::Widget* instance;
-
- // Overridden from views::WidgetDelegateView:
- virtual bool CanResize() const OVERRIDE;
- virtual bool CanMaximize() const OVERRIDE;
- virtual base::string16 GetWindowTitle() const OVERRIDE;
- virtual views::View* GetContentsView() OVERRIDE;
- virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
- virtual bool ShouldShowWindowIcon() const OVERRIDE;
- virtual void DeleteDelegate() OVERRIDE;
-
- private:
- // Overridden from views::View:
- virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
- virtual void ViewHierarchyChanged(
- const ViewHierarchyChangedDetails& details) OVERRIDE;
- virtual void Layout() OVERRIDE;
-
- // Overridden from views::TreeViewController:
- virtual void OnTreeViewSelectionChanged(views::TreeView* tree) OVERRIDE;
-
- void Init();
-
- scoped_ptr<views::TreeView> tree_;
- scoped_ptr<TreeOfWindows> tree_model_;
- views::View* tree_container_;
-
- gfx::Rect separator_rect_;
-
- scoped_ptr<views::TableView> details_;
- scoped_ptr<OakDetailsModel> details_model_;
- views::View* details_container_;
-
- DISALLOW_COPY_AND_ASSIGN(OakWindow);
-};
-
-} // namespace internal
-} // namespace oak
-
-#endif // UI_OAK_OAK_WINDOW_H_
« no previous file with comments | « ui/oak/oak_tree_model.cc ('k') | ui/oak/oak_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698