| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_controller.h" | 5 #import "chrome/browser/ui/cocoa/passwords/passwords_bubble_controller.h" |
| 6 | 6 |
| 7 #include "base/mac/scoped_nsobject.h" | 7 #include "base/mac/scoped_nsobject.h" |
| 8 #include "chrome/browser/ui/browser_finder.h" | 8 #include "chrome/browser/ui/browser_finder.h" |
| 9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" | 9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 10 #import "chrome/browser/ui/cocoa/info_bubble_view.h" | 10 #import "chrome/browser/ui/cocoa/info_bubble_view.h" |
| 11 #import "chrome/browser/ui/cocoa/info_bubble_window.h" | 11 #import "chrome/browser/ui/cocoa/info_bubble_window.h" |
| 12 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" | 12 #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" |
| 13 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_account_choos
er_view_controller.h" | 13 #import "chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.h" |
| 14 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_auto_signin_v
iew_controller.h" | 14 #import "chrome/browser/ui/cocoa/passwords/auto_signin_view_controller.h" |
| 15 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_confirmation_
view_controller.h" | 15 #import "chrome/browser/ui/cocoa/passwords/confirmation_password_saved_view_cont
roller.h" |
| 16 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_c
ontroller.h" | 16 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_view_controller.h" |
| 17 #include "ui/base/cocoa/window_size_constants.h" | 17 #include "ui/base/cocoa/window_size_constants.h" |
| 18 | 18 |
| 19 @interface ManagePasswordsBubbleController () | 19 @interface ManagePasswordsBubbleController () |
| 20 // Updates the content view controller according to the current state. | 20 // Updates the content view controller according to the current state. |
| 21 - (void)updateState; | 21 - (void)updateState; |
| 22 @end | 22 @end |
| 23 | 23 |
| 24 @implementation ManagePasswordsBubbleController | 24 @implementation ManagePasswordsBubbleController |
| 25 - (id)initWithParentWindow:(NSWindow*)parentWindow | 25 - (id)initWithParentWindow:(NSWindow*)parentWindow |
| 26 model:(ManagePasswordsBubbleModel*)model { | 26 model:(ManagePasswordsBubbleModel*)model { |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 152 |
| 153 @end | 153 @end |
| 154 | 154 |
| 155 @implementation ManagePasswordsBubbleController (Testing) | 155 @implementation ManagePasswordsBubbleController (Testing) |
| 156 | 156 |
| 157 - (NSViewController*)currentController { | 157 - (NSViewController*)currentController { |
| 158 return currentController_.get(); | 158 return currentController_.get(); |
| 159 } | 159 } |
| 160 | 160 |
| 161 @end | 161 @end |
| OLD | NEW |