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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/panel_overflow_indicator.h
diff --git a/chrome/browser/ui/panels/panel_overflow_indicator.h b/chrome/browser/ui/panels/panel_overflow_indicator.h
new file mode 100644
index 0000000000000000000000000000000000000000..d63582e6b89bc99b0ec7bc19daa7ff9b1f7f640c
--- /dev/null
+++ b/chrome/browser/ui/panels/panel_overflow_indicator.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 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 CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_H_
+#define CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_H_
+#pragma once
+
+namespace gfx {
+class Rect;
+}
+
+class PanelOverflowIndicator {
jennb 2011/12/19 22:24:50 Class comment please.
jianli 2011/12/20 01:20:41 Done.
+ public:
+ static PanelOverflowIndicator* Create();
+
+ virtual ~PanelOverflowIndicator() { }
+
+ virtual void SetCount(int count) = 0;
+ virtual void SetBounds(const gfx::Rect& bounds) = 0;
+ virtual int GetHeight() const = 0;
+ virtual void DrawAttention() = 0;
+ virtual void StopDrawingAttention() = 0;
+
+ // These are needed for testing purpose.
+ virtual int GetCount() const = 0;
+ virtual bool IsDrawingAttention() const = 0;
+};
+
+#endif // CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_H_

Powered by Google App Engine
This is Rietveld 408576698