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

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

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
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"
11 #import "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.h " 11 #import "chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.h "
12 #include "ui/gfx/size.h" 12 #include "ui/gfx/geometry/size.h"
13 13
14 namespace autofill { 14 namespace autofill {
15 15
16 PasswordGenerationPopupViewBridge::PasswordGenerationPopupViewBridge( 16 PasswordGenerationPopupViewBridge::PasswordGenerationPopupViewBridge(
17 PasswordGenerationPopupController* controller) { 17 PasswordGenerationPopupController* controller) {
18 view_.reset( 18 view_.reset(
19 [[PasswordGenerationPopupViewCocoa alloc] 19 [[PasswordGenerationPopupViewCocoa alloc]
20 initWithController:controller 20 initWithController:controller
21 frame:NSZeroRect]); 21 frame:NSZeroRect]);
22 } 22 }
(...skipping 27 matching lines...) Expand all
50 const gfx::Point& point) { 50 const gfx::Point& point) {
51 return [view_ isPointInPasswordBounds:NSPointFromCGPoint(point.ToCGPoint())]; 51 return [view_ isPointInPasswordBounds:NSPointFromCGPoint(point.ToCGPoint())];
52 } 52 }
53 53
54 PasswordGenerationPopupView* PasswordGenerationPopupView::Create( 54 PasswordGenerationPopupView* PasswordGenerationPopupView::Create(
55 PasswordGenerationPopupController* controller) { 55 PasswordGenerationPopupController* controller) {
56 return new PasswordGenerationPopupViewBridge(controller); 56 return new PasswordGenerationPopupViewBridge(controller);
57 } 57 }
58 58
59 } // namespace autofill 59 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698