| Index: chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.mm b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| index 51974a1e79293b2c8b11d221517290fb9689b9ad..dbde383f25b41a200b6b6d24c520918c476a03d8 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| +++ b/chrome/browser/ui/cocoa/browser_window_cocoa.mm
|
| @@ -28,7 +28,6 @@
|
| #include "chrome/browser/ui/browser_list.h"
|
| #include "chrome/browser/ui/browser_window_state.h"
|
| #import "chrome/browser/ui/cocoa/browser/edit_search_engine_cocoa_controller.h"
|
| -#import "chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h"
|
| #import "chrome/browser/ui/cocoa/browser_window_controller.h"
|
| #import "chrome/browser/ui/cocoa/browser_window_utils.h"
|
| #import "chrome/browser/ui/cocoa/chrome_event_processing_window.h"
|
| @@ -721,29 +720,6 @@ void BrowserWindowCocoa::ShowAvatarBubbleFromAvatarButton(
|
| withServiceType:manage_accounts_params.service_type];
|
| }
|
|
|
| -void BrowserWindowCocoa::ShowPasswordGenerationBubble(
|
| - const gfx::Rect& rect,
|
| - const autofill::PasswordForm& form,
|
| - autofill::PasswordGenerator* password_generator) {
|
| - WebContents* web_contents =
|
| - browser_->tab_strip_model()->GetActiveWebContents();
|
| - // We want to point to the middle of the rect instead of the right side.
|
| - NSPoint point = GetPointForBubble(web_contents,
|
| - rect.x() + rect.width()/2,
|
| - rect.bottom());
|
| -
|
| - PasswordGenerationBubbleController* controller = [
|
| - [PasswordGenerationBubbleController alloc]
|
| - initWithWindow:browser_->window()->GetNativeWindow()
|
| - anchoredAt:point
|
| - renderViewHost:web_contents->GetRenderViewHost()
|
| - passwordManager:ChromePasswordManagerClient::GetManagerFromWebContents(
|
| - web_contents)
|
| - usingGenerator:password_generator
|
| - forForm:form];
|
| - [controller showWindow:nil];
|
| -}
|
| -
|
| int
|
| BrowserWindowCocoa::GetRenderViewHeightInsetWithDetachedBookmarkBar() {
|
| if (browser_->bookmark_bar_state() != BookmarkBar::DETACHED)
|
|
|