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

Unified Diff: ash/wm/panels/panel_frame_view.h

Issue 189463013: [Refactor] Move code for painting the window header for browser windows out of ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « ash/frame/header_painter_util.cc ('k') | ash/wm/panels/panel_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_frame_view.h
diff --git a/ash/wm/panels/panel_frame_view.h b/ash/wm/panels/panel_frame_view.h
index 3bad676609040d238061191390c89cc106c0508e..6ab0cbac63295b9c778cc98794f81932f92b04bc 100644
--- a/ash/wm/panels/panel_frame_view.h
+++ b/ash/wm/panels/panel_frame_view.h
@@ -7,7 +7,6 @@
#include "ash/ash_export.h"
#include "base/basictypes.h"
-#include "ui/gfx/font_list.h"
#include "ui/views/window/non_client_view.h"
namespace views {
@@ -15,10 +14,9 @@ class ImageView;
}
namespace ash {
-
+class DefaultHeaderPainter;
class FrameCaptionButtonContainerView;
class FrameBorderHitTestController;
-class HeaderPainter;
class ASH_EXPORT PanelFrameView : public views::NonClientFrameView {
public:
@@ -64,10 +62,9 @@ class ASH_EXPORT PanelFrameView : public views::NonClientFrameView {
FrameCaptionButtonContainerView* caption_button_container_;
views::ImageView* window_icon_;
gfx::Rect client_view_bounds_;
- const gfx::FontList title_font_list_;
// Helper class for painting the header.
- scoped_ptr<HeaderPainter> header_painter_;
+ scoped_ptr<DefaultHeaderPainter> header_painter_;
// Updates the hittest bounds overrides based on the window state type.
scoped_ptr<FrameBorderHitTestController> frame_border_hit_test_controller_;
« no previous file with comments | « ash/frame/header_painter_util.cc ('k') | ash/wm/panels/panel_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698