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

Unified Diff: chrome/browser/ui/panels/panel_overflow_indicator_cocoa.h

Issue 8953040: Add overflow indicator count on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot 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_cocoa.h
diff --git a/chrome/browser/ui/panels/panel_overflow_indicator_cocoa.h b/chrome/browser/ui/panels/panel_overflow_indicator_cocoa.h
new file mode 100644
index 0000000000000000000000000000000000000000..06713dec1374f4c6d4ae9ff41f7b9ec879db44fc
--- /dev/null
+++ b/chrome/browser/ui/panels/panel_overflow_indicator_cocoa.h
@@ -0,0 +1,33 @@
+// 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_COCOA_H_
+#define CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_COCOA_H_
+#pragma once
+
+#include "chrome/browser/ui/panels/panel_overflow_indicator.h"
+
+#include "base/basictypes.h"
+#include "base/compiler_specific.h"
+
+class PanelOverflowIndicatorCocoa : public PanelOverflowIndicator {
+ public:
+ PanelOverflowIndicatorCocoa();
+ virtual ~PanelOverflowIndicatorCocoa();
+
+ // Overridden from OverflowIndicator:
+ virtual int GetHeight() const OVERRIDE;
+ virtual gfx::Rect GetBounds() const OVERRIDE;
+ virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
+ virtual int GetCount() const OVERRIDE;
+ virtual void SetCount(int count) OVERRIDE;
+ virtual void DrawAttention() OVERRIDE;
+ virtual void StopDrawingAttention() OVERRIDE;
+ virtual bool IsDrawingAttention() const OVERRIDE;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PanelOverflowIndicatorCocoa);
+};
+
+#endif // CHROME_BROWSER_UI_PANELS_PANEL_OVERFLOW_INDICATOR_COCOA_H_
« no previous file with comments | « chrome/browser/ui/panels/panel_overflow_indicator.h ('k') | chrome/browser/ui/panels/panel_overflow_indicator_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698