| Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h
|
| diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h
|
| deleted file mode 100644
|
| index ca078e76c41dd246c423056ad2507e93ee64a920..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h
|
| +++ /dev/null
|
| @@ -1,51 +0,0 @@
|
| -// 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.
|
| -
|
| -#ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_CONTENT_VIEW_CONTROLLER_H_
|
| -#define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_CONTENT_VIEW_CONTROLLER_H_
|
| -
|
| -#import <Cocoa/Cocoa.h>
|
| -
|
| -// Cocoa UI constants.
|
| -namespace password_manager {
|
| -namespace mac {
|
| -namespace ui {
|
| -const CGFloat kDesiredBubbleWidth = 370;
|
| -const CGFloat kFramePadding = 16;
|
| -const CGFloat kRelatedControlHorizontalPadding = 2;
|
| -const CGFloat kUnrelatedControlVerticalPadding = 15;
|
| -} // namespace ui
|
| -} // namespace mac
|
| -} // namespace password_manager
|
| -
|
| -// Handles user interaction with the content view.
|
| -@protocol ManagePasswordsBubbleContentViewDelegate<NSObject>
|
| -
|
| -// The user performed an action that should dismiss the bubble.
|
| -- (void)viewShouldDismiss;
|
| -
|
| -@end
|
| -
|
| -// Base class for a state of the password management bubble.
|
| -@interface ManagePasswordsBubbleContentViewController : NSViewController {
|
| - id<ManagePasswordsBubbleContentViewDelegate> delegate_; // Weak.
|
| -}
|
| -- (id)initWithDelegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate;
|
| -- (NSButton*)addButton:(NSString*)title
|
| - toView:(NSView*)view
|
| - target:(id)target
|
| - action:(SEL)action;
|
| -- (NSTextField*)addTitleLabel:(NSString*)title toView:(NSView*)view;
|
| -- (NSTextField*)addLabel:(NSString*)title toView:(NSView*)view;
|
| -- (void)bubbleWillDisappear;
|
| -
|
| -// Returns the default button for the bubble.
|
| -- (NSButton*)defaultButton;
|
| -
|
| -@property(nonatomic, assign)
|
| - id<ManagePasswordsBubbleContentViewDelegate> delegate;
|
| -
|
| -@end
|
| -
|
| -#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_CONTENT_VIEW_CONTROLLER_H_
|
|
|