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

Unified Diff: ash/common/frame/header_painter.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 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 | « ash/common/frame/frame_border_hit_test.cc ('k') | ash/common/frame/header_painter_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/frame/header_painter.h
diff --git a/ash/common/frame/header_painter.h b/ash/common/frame/header_painter.h
deleted file mode 100644
index f60d62ff2502381a77f4cbc3d7b4c4b2fa6138cd..0000000000000000000000000000000000000000
--- a/ash/common/frame/header_painter.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright 2013 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 ASH_COMMON_FRAME_HEADER_PAINTER_H_
-#define ASH_COMMON_FRAME_HEADER_PAINTER_H_
-
-#include "ash/ash_export.h"
-
-namespace gfx {
-class Canvas;
-}
-
-namespace ash {
-
-// Helper class for painting the window header.
-class ASH_EXPORT HeaderPainter {
- public:
- enum Mode { MODE_ACTIVE, MODE_INACTIVE };
-
- virtual ~HeaderPainter() {}
-
- // Returns the header's minimum width.
- virtual int GetMinimumHeaderWidth() const = 0;
-
- // Paints the header.
- virtual void PaintHeader(gfx::Canvas* canvas, Mode mode) = 0;
-
- // Performs layout for the header.
- virtual void LayoutHeader() = 0;
-
- // Get the height of the header.
- virtual int GetHeaderHeight() const = 0;
-
- // Gets / sets how much of the header is painted. This allows the header to
- // paint under things (like the tabstrip) which have transparent /
- // non-painting sections. This height does not affect LayoutHeader().
- virtual int GetHeaderHeightForPainting() const = 0;
- virtual void SetHeaderHeightForPainting(int height_for_painting) = 0;
-
- // Schedule a re-paint of the entire title.
- virtual void SchedulePaintForTitle() = 0;
-};
-
-} // namespace ash
-
-#endif // ASH_COMMON_FRAME_HEADER_PAINTER_H_
« no previous file with comments | « ash/common/frame/frame_border_hit_test.cc ('k') | ash/common/frame/header_painter_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698