| Index: chrome/browser/ui/cocoa/infobars/translate_infobar_base.h
|
| diff --git a/chrome/browser/ui/cocoa/infobars/translate_infobar_base.h b/chrome/browser/ui/cocoa/infobars/translate_infobar_base.h
|
| index c0ab457d5b97c3abe399ed6516011db16d010630..cadf3b3422ffd10110479ca7c372bb73a4f00669 100644
|
| --- a/chrome/browser/ui/cocoa/infobars/translate_infobar_base.h
|
| +++ b/chrome/browser/ui/cocoa/infobars/translate_infobar_base.h
|
| @@ -17,30 +17,6 @@
|
| #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h"
|
| #include "chrome/common/translate_errors.h"
|
|
|
| -#pragma mark TranslateInfoBarUtilities helper functions.
|
| -namespace TranslateInfoBarUtilities {
|
| -
|
| -// Move the |toMove| view |spacing| pixels before/after the |anchor| view.
|
| -// |after| signifies the side of |anchor| on which to place |toMove|.
|
| -void MoveControl(NSView* anchor, NSView* toMove, int spacing, bool after);
|
| -
|
| -// Vertically center |toMove| in its container.
|
| -void VerticallyCenterView(NSView *toMove);
|
| -// Check that the control |before| is ordered visually before the |after|
|
| -// control.
|
| -// Also, check that there is space between them.
|
| -bool VerifyControlOrderAndSpacing(id before, id after);
|
| -
|
| -// Creates a label control in the style we need for the translate infobar's
|
| -// labels within |bounds|.
|
| -NSTextField* CreateLabel(NSRect bounds);
|
| -
|
| -// Adds an item with the specified properties to |menu|.
|
| -void AddMenuItem(NSMenu *menu, id target, SEL selector, NSString* title,
|
| - int tag, bool enabled, bool checked);
|
| -
|
| -} // namespace
|
| -
|
| // The base class for the three translate infobars. This class does all of the
|
| // heavy UI lifting, while deferring to the subclass to tell it what views
|
| // should be shown and where. Subclasses need to implement:
|
|
|