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

Side by Side Diff: chrome/browser/ui/panels/panel_overflow_indicator.h

Issue 8953040: Add overflow indicator count on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_H_
7 #pragma once
8
9 namespace gfx {
10 class Rect;
11 }
12
13 class PanelOverflowIndicator {
jennb 2011/12/19 22:24:50 Class comment please.
jianli 2011/12/20 01:20:41 Done.
14 public:
15 static PanelOverflowIndicator* Create();
16
17 virtual ~PanelOverflowIndicator() { }
18
19 virtual void SetCount(int count) = 0;
20 virtual void SetBounds(const gfx::Rect& bounds) = 0;
21 virtual int GetHeight() const = 0;
22 virtual void DrawAttention() = 0;
23 virtual void StopDrawingAttention() = 0;
24
25 // These are needed for testing purpose.
26 virtual int GetCount() const = 0;
27 virtual bool IsDrawingAttention() const = 0;
28 };
29
30 #endif // CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698