| Index: chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm b/chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f0ac0fa733fc183330a84b6c243a23dc97c4d2c5
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 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.
|
| +
|
| +#include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
|
| +
|
| +const int InfoBar::kSeparatorLineHeight = 1;
|
| +const int InfoBar::kDefaultArrowTargetHeight = 11;
|
| +const int InfoBar::kMaximumArrowTargetHeight = 24;
|
| +const int InfoBar::kDefaultArrowTargetHalfWidth = kDefaultArrowTargetHeight;
|
| +const int InfoBar::kMaximumArrowTargetHalfWidth = 14;
|
| +const int InfoBar::kDefaultBarTargetHeight = 36;
|
| +
|
| +InfoBarCocoa::InfoBarCocoa(InfoBarService* owner, InfoBarDelegate* delegate)
|
| + : InfoBar(owner, delegate) {
|
| +}
|
| +
|
| +InfoBarCocoa::~InfoBarCocoa() {
|
| +}
|
| +
|
| +void InfoBarCocoa::RemoveSelfCocoa() {
|
| + RemoveSelf();
|
| +}
|
| +
|
| +InfoBarService* InfoBarCocoa::OwnerCocoa() {
|
| + return owner();
|
| +}
|
|
|