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: ash/frame/header_painter.h

Issue 441803004: Introduce new WebApp header style for hosted apps and fizzy apps on ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 ASH_FRAME_HEADER_PAINTER_H_ 5 #ifndef ASH_FRAME_HEADER_PAINTER_H_
6 #define ASH_FRAME_HEADER_PAINTER_H_ 6 #define ASH_FRAME_HEADER_PAINTER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
(...skipping 22 matching lines...) Expand all
33 // Performs layout for the header. 33 // Performs layout for the header.
34 virtual void LayoutHeader() = 0; 34 virtual void LayoutHeader() = 0;
35 35
36 // Gets / sets how much of the header is painted. This allows the tabstrip to 36 // Gets / sets how much of the header is painted. This allows the tabstrip to
37 // affect the header height. This height does not affect LayoutHeader(). 37 // affect the header height. This height does not affect LayoutHeader().
38 virtual int GetHeaderHeightForPainting() const = 0; 38 virtual int GetHeaderHeightForPainting() const = 0;
39 virtual void SetHeaderHeightForPainting(int height_for_painting) = 0; 39 virtual void SetHeaderHeightForPainting(int height_for_painting) = 0;
40 40
41 // Schedule a re-paint of the entire title. 41 // Schedule a re-paint of the entire title.
42 virtual void SchedulePaintForTitle() = 0; 42 virtual void SchedulePaintForTitle() = 0;
43
44 // X inset of the left most view of the header. Passing 0 will use the default
45 // inset.
pkotwicz 2014/08/14 01:59:44 Nit: "Updates the x inset of the leftmost view in
benwells 2014/08/14 04:42:50 Done.
46 virtual void UpdateLeftViewXInset(int left_view_x_inset) = 0;
43 }; 47 };
44 48
45 } // namespace ash 49 } // namespace ash
46 50
47 #endif // ASH_FRAME_HEADER_PAINTER_H_ 51 #endif // ASH_FRAME_HEADER_PAINTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698