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

Unified Diff: chrome/browser/ui/cocoa/tab_contents/overlay_separator_view.h

Issue 12674019: Alternate NTP Mac: Show overlay at fixed position (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
Index: chrome/browser/ui/cocoa/tab_contents/overlay_separator_view.h
diff --git a/chrome/browser/ui/cocoa/tab_contents/overlay_separator_view.h b/chrome/browser/ui/cocoa/tab_contents/overlay_separator_view.h
new file mode 100644
index 0000000000000000000000000000000000000000..3ebd5dafe89a4f999356f79e6e370397fb257881
--- /dev/null
+++ b/chrome/browser/ui/cocoa/tab_contents/overlay_separator_view.h
@@ -0,0 +1,28 @@
+// 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 CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAY_SEPARATOR_VIEW_H_
+#define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAY_SEPARATOR_VIEW_H_
+
+#import <Cocoa/Cocoa.h>
+
+#include "chrome/browser/ui/cocoa/background_gradient_view.h"
+
+// A view used to draw a separator above Instant overlay view.
+@interface OverlayTopSeparatorView : BackgroundGradientView {
+}
+
++ (CGFloat)preferredHeight;
+
+@end
+
+// A view used to draw a drop shadow beneath the Instant overlay view.
+@interface OverlayBottomSeparatorView : NSView {
+}
+
++ (CGFloat)preferredHeight;
+
+@end
+
+#endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_OVERLAY_SEPARATOR_VIEW_H_

Powered by Google App Engine
This is Rietveld 408576698