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

Side by Side Diff: chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge.mm

Issue 342833002: [Password Generation] Update Aura UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Coments Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge .h" 7 #include "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_bridge .h"
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/browser/ui/autofill/autofill_popup_controller.h" 10 #include "chrome/browser/ui/autofill/autofill_popup_controller.h"
(...skipping 17 matching lines...) Expand all
28 } 28 }
29 29
30 void PasswordGenerationPopupViewBridge::Hide() { 30 void PasswordGenerationPopupViewBridge::Hide() {
31 delete this; 31 delete this;
32 } 32 }
33 33
34 void PasswordGenerationPopupViewBridge::Show() { 34 void PasswordGenerationPopupViewBridge::Show() {
35 [view_ showPopup]; 35 [view_ showPopup];
36 } 36 }
37 37
38 gfx::Size PasswordGenerationPopupViewBridge::GetPreferredSizeOfPasswordView() {
39 // TODO(gcasto): Implement this function.
40 return gfx::Size();
41 }
42
38 void PasswordGenerationPopupViewBridge::UpdateBoundsAndRedrawPopup() { 43 void PasswordGenerationPopupViewBridge::UpdateBoundsAndRedrawPopup() {
39 [view_ updateBoundsAndRedrawPopup]; 44 [view_ updateBoundsAndRedrawPopup];
40 } 45 }
41 46
42 void PasswordGenerationPopupViewBridge::PasswordSelectionUpdated() { 47 void PasswordGenerationPopupViewBridge::PasswordSelectionUpdated() {
43 [view_ setNeedsDisplay:YES]; 48 [view_ setNeedsDisplay:YES];
44 } 49 }
45 50
51 bool PasswordGenerationPopupViewBridge::IsPointInPasswordBounds(
52 const gfx::Point& point) {
53 // TODO(gcasto): Implement this function.
54 return true;
55 }
56
46 PasswordGenerationPopupView* PasswordGenerationPopupView::Create( 57 PasswordGenerationPopupView* PasswordGenerationPopupView::Create(
47 PasswordGenerationPopupController* controller) { 58 PasswordGenerationPopupController* controller) {
48 return new PasswordGenerationPopupViewBridge(controller); 59 return new PasswordGenerationPopupViewBridge(controller);
49 } 60 }
50 61
51 } // namespace autofill 62 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698