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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.mm

Issue 1411733009: Bulk rename files in chrome/browser/ui/cocoa/passwords/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-federation
Patch Set: Created 5 years, 2 months 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/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.mm
deleted file mode 100644
index 818d10ff2cee64d3473b6f75602b15fac01055e6..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.mm
+++ /dev/null
@@ -1,66 +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.
-
-#import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h"
-
-#include "base/logging.h"
-#include "base/mac/scoped_nsobject.h"
-
-@implementation ManagePasswordsBubbleContentViewController
-
-@synthesize delegate = delegate_;
-
-- (id)initWithDelegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate {
- if ((self = [super initWithNibName:nil bundle:nil])) {
- delegate_ = delegate;
- }
- return self;
-}
-
-- (NSButton*)addButton:(NSString*)title
- toView:(NSView*)view
- target:(id)target
- action:(SEL)action {
- base::scoped_nsobject<NSButton> button(
- [[NSButton alloc] initWithFrame:NSZeroRect]);
- [button setFont:[NSFont systemFontOfSize:[NSFont smallSystemFontSize]]];
- [button setTitle:title];
- [button setBezelStyle:NSRoundedBezelStyle];
- [[button cell] setControlSize:NSSmallControlSize];
- [button setTarget:target];
- [button setAction:action];
- [button sizeToFit];
- [view addSubview:button.get()];
- return button.autorelease();
-}
-
-- (NSTextField*)addTitleLabel:(NSString*)title toView:(NSView*)view {
- base::scoped_nsobject<NSTextField> label(
- [[NSTextField alloc] initWithFrame:NSZeroRect]);
- [label setEditable:NO];
- [label setSelectable:NO];
- [label setDrawsBackground:NO];
- [label setBezeled:NO];
- [label setStringValue:title];
- [label sizeToFit];
- [view addSubview:label.get()];
- return label.autorelease();
-}
-
-- (NSTextField*)addLabel:(NSString*)title toView:(NSView*)view {
- NSTextField* label = [self addTitleLabel:title toView:view];
- NSFont* font = [NSFont systemFontOfSize:[NSFont smallSystemFontSize]];
- [label setFont:font];
- [[label cell] setWraps:YES];
- return label;
-}
-
-- (void)bubbleWillDisappear {
-}
-
-- (NSButton*)defaultButton {
- return nil;
-}
-
-@end

Powered by Google App Engine
This is Rietveld 408576698