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

Unified Diff: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h

Issue 538173002: [Password Generation] Remove old UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/browser/password_generation_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h
deleted file mode 100644
index c21a16cf857f897fe8d44568b6bdbe399a9d5c95..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright (c) 2012 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_BROWSER_PASSWORD_GENERATION_BUBBLE_CONTROLLER_H_
-#define CHROME_BROWSER_UI_COCOA_BROWSER_PASSWORD_GENERATION_BUBBLE_CONTROLLER_H_
-
-#import <Cocoa/Cocoa.h>
-
-#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
-#import "chrome/browser/ui/cocoa/styled_text_field.h"
-#include "components/autofill/core/common/password_form.h"
-#include "components/autofill/core/common/password_generation_util.h"
-
-namespace autofill {
-class PasswordGenerator;
-}
-
-namespace content {
-class RenderViewHost;
-}
-
-class Browser;
-@class PasswordGenerationBubbleController;
-
-namespace password_manager {
-class PasswordManager;
-}
-
-// Customized text field that is used to display the regenerate icon.
-@interface PasswordGenerationTextField : StyledTextField {
-}
-
-- (id)initWithFrame:(NSRect)frame
- withController:(PasswordGenerationBubbleController*)controller
- normalImage:(NSImage*)normalImage
- hoverImage:(NSImage*)hoverImage;
-@end
-
-@interface PasswordGenerationBubbleController :
- BaseBubbleController<NSTextFieldDelegate> {
- @private
- // |renderViewHost_| and |passwordManager_| may be nil in testing.
- content::RenderViewHost* renderViewHost_;
- password_manager::PasswordManager* passwordManager_;
- autofill::PasswordGenerator* passwordGenerator_;
- autofill::PasswordForm form_;
- autofill::password_generation::PasswordGenerationActions actions_;
-
- PasswordGenerationTextField* textField_; // weak
-}
-
-@property(readonly) PasswordGenerationTextField* textField;
-
-- (id)initWithWindow:(NSWindow*)parentWindow
- anchoredAt:(NSPoint)point
- renderViewHost:(content::RenderViewHost*)renderViewHost
- passwordManager:(password_manager::PasswordManager*)passwordManager
- usingGenerator:(autofill::PasswordGenerator*)passwordGenerator
- forForm:(const autofill::PasswordForm&)form;
-- (void)performLayout;
-- (IBAction)fillPassword:(id)sender;
-- (void)regeneratePassword;
-@end
-
-// Testing interfaces
-
-@interface PasswordGenerationTextField (ExposedForTesting)
-- (void)simulateIconClick;
-@end
-
-#endif // CHROME_BROWSER_UI_COCOA_BROWSER_PASSWORD_GENERATION_BUBBLE_CONTROLLER_H_
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698