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

Side by Side Diff: ui/oak/oak_window.h

Issue 10447053: Converts remainder of ui and chrome/browser/ui/views/frame to use ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/base/native_theme/native_theme_base.cc ('k') | ui/oak/oak_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_OAK_OAK_WINDOW_H_ 5 #ifndef UI_OAK_OAK_WINDOW_H_
6 #define UI_OAK_OAK_WINDOW_H_ 6 #define UI_OAK_OAK_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/oak/oak_tree_model.h" 9 #include "ui/oak/oak_tree_model.h"
10 #include "ui/views/controls/tree/tree_view_controller.h" 10 #include "ui/views/controls/tree/tree_view_controller.h"
(...skipping 15 matching lines...) Expand all
26 OakWindow(); 26 OakWindow();
27 virtual ~OakWindow(); 27 virtual ~OakWindow();
28 28
29 static views::Widget* instance; 29 static views::Widget* instance;
30 30
31 // Overridden from views::WidgetDelegateView: 31 // Overridden from views::WidgetDelegateView:
32 virtual bool CanResize() const OVERRIDE; 32 virtual bool CanResize() const OVERRIDE;
33 virtual bool CanMaximize() const OVERRIDE; 33 virtual bool CanMaximize() const OVERRIDE;
34 virtual string16 GetWindowTitle() const OVERRIDE; 34 virtual string16 GetWindowTitle() const OVERRIDE;
35 virtual views::View* GetContentsView() OVERRIDE; 35 virtual views::View* GetContentsView() OVERRIDE;
36 virtual SkBitmap GetWindowIcon() OVERRIDE; 36 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
37 virtual bool ShouldShowWindowIcon() const OVERRIDE; 37 virtual bool ShouldShowWindowIcon() const OVERRIDE;
38 virtual void DeleteDelegate() OVERRIDE; 38 virtual void DeleteDelegate() OVERRIDE;
39 39
40 private: 40 private:
41 // Overridden from views::View: 41 // Overridden from views::View:
42 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 42 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
43 virtual void ViewHierarchyChanged(bool is_add, 43 virtual void ViewHierarchyChanged(bool is_add,
44 views::View* parent, 44 views::View* parent,
45 views::View* child) OVERRIDE; 45 views::View* child) OVERRIDE;
46 virtual void Layout() OVERRIDE; 46 virtual void Layout() OVERRIDE;
(...skipping 13 matching lines...) Expand all
60 scoped_ptr<OakDetailsModel> details_model_; 60 scoped_ptr<OakDetailsModel> details_model_;
61 views::View* details_container_; 61 views::View* details_container_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(OakWindow); 63 DISALLOW_COPY_AND_ASSIGN(OakWindow);
64 }; 64 };
65 65
66 } // namespace internal 66 } // namespace internal
67 } // namespace oak 67 } // namespace oak
68 68
69 #endif // UI_OAK_OAK_WINDOW_H_ 69 #endif // UI_OAK_OAK_WINDOW_H_
OLDNEW
« no previous file with comments | « ui/base/native_theme/native_theme_base.cc ('k') | ui/oak/oak_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698