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

Unified Diff: chrome/browser/infobars/infobar_service_views.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_views.cc
diff --git a/chrome/browser/infobars/infobar_service_views.cc b/chrome/browser/infobars/infobar_service_views.cc
new file mode 100644
index 0000000000000000000000000000000000000000..954d4d75e786920ff19276f35b034047445b19f7
--- /dev/null
+++ b/chrome/browser/infobars/infobar_service_views.cc
@@ -0,0 +1,17 @@
+// 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"
+#include "ui/views/window/non_client_view.h"
+
+const infobars::InfoBarConstants kChromeInfoBarConstants = {
+ views::NonClientFrameView::kClientEdgeThickness, // separator_line_height
+ 36, // default_bar_target_height
+ 9, // default_arrow_target_height
+ 24, // maximum_arrow_target_height
+ 9, // default_arrow_target_half_width
+ 14, // maximum_arrow_target_half_width
+};
« no previous file with comments | « chrome/browser/infobars/infobar_service_cocoa.cc ('k') | chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698