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

Unified Diff: chrome/browser/ui/android/infobars/infobar_constants.cc

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/android/infobars/infobar_constants.cc
diff --git a/chrome/browser/ui/android/infobars/infobar_constants.cc b/chrome/browser/ui/android/infobars/infobar_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..08dde34a42a685ddbb551a3ed813c3a30f6f5c4e
--- /dev/null
+++ b/chrome/browser/ui/android/infobars/infobar_constants.cc
@@ -0,0 +1,16 @@
+// 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.
+
+#include "chrome/browser/ui/infobar_constants.h"
+
+namespace infobars {
+
+const int kSeparatorLineHeight = 1;
+const int kDefaultArrowTargetHeight = 9;
+const int kMaximumArrowTargetHeight = 24;
+const int kDefaultArrowTargetHalfWidth = kDefaultArrowTargetHeight;
+const int kMaximumArrowTargetHalfWidth = 14;
+const int kDefaultBarTargetHeight = 36;
+
+} // namespace

Powered by Google App Engine
This is Rietveld 408576698