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

Unified Diff: chrome/browser/infobars/infobar_service_cocoa.cc

Issue 765643003: Remove dependency from infobars component to the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compilation 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/infobars/infobar_service_cocoa.cc
diff --git a/chrome/browser/infobars/infobar_service_cocoa.cc b/chrome/browser/infobars/infobar_service_cocoa.cc
new file mode 100644
index 0000000000000000000000000000000000000000..98042c8c1e4b963552a62fe78748077100a16ed8
--- /dev/null
+++ b/chrome/browser/infobars/infobar_service_cocoa.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/infobars/infobar_service.h"
+
+#include "components/infobars/core/infobar.h"
+
+const infobars::InfoBarConstants kChromeInfoBarConstants = {
+ 1, // separator_line_height
+ 36, // default_bar_target_height
+ 11, // default_arrow_target_height
+ 24, // maximum_arrow_target_height
+ 11, // default_arrow_target_half_width
+ 14, // maximum_arrow_target_half_width
+};
« no previous file with comments | « chrome/browser/infobars/infobar_service_android.cc ('k') | chrome/browser/infobars/infobar_service_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698