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

Unified Diff: chrome/browser/ui/infobar_constants.h

Issue 752853005: Remove dependency from infobars component to the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/infobar_constants.h
diff --git a/chrome/browser/ui/infobar_constants.h b/chrome/browser/ui/infobar_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..924ed27d70904f66da2bb92a90b7203776bb18fd
--- /dev/null
+++ b/chrome/browser/ui/infobar_constants.h
@@ -0,0 +1,22 @@
+// Copyright 2014 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_INFOBAR_CONSTANTS_H_
+#define CHROME_BROWSER_UI_INFOBAR_CONSTANTS_H_
+
+namespace infobars {
+
+// Constants used to configure infobar component via InfoBar::Initialize()
+// (see components/infobars/core/infobar.h). The values depends on the UI
+// system used.
+extern const int kSeparatorLineHeight;
+extern const int kDefaultArrowTargetHeight;
+extern const int kMaximumArrowTargetHeight;
+extern const int kDefaultArrowTargetHalfWidth;
+extern const int kMaximumArrowTargetHalfWidth;
+extern const int kDefaultBarTargetHeight;
+
+} // namespace infobars
+
+#endif // CHROME_BROWSER_UI_INFOBAR_CONSTANTS_H_
« no previous file with comments | « chrome/browser/ui/cocoa/infobars/infobar_utilities.mm ('k') | chrome/browser/ui/ios/infobars/infobar_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698