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

Side by Side Diff: chrome/browser/ui/cocoa/confirm_bubble_controller.mm

Issue 823703003: Cleanup: Update the path to insets and point headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: point.h Created 6 years 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 "chrome/browser/ui/cocoa/confirm_bubble_controller.h" 5 #import "chrome/browser/ui/cocoa/confirm_bubble_controller.h"
6 6
7 #include "base/strings/sys_string_conversions.h" 7 #include "base/strings/sys_string_conversions.h"
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
9 #import "chrome/browser/ui/cocoa/confirm_bubble_cocoa.h" 9 #import "chrome/browser/ui/cocoa/confirm_bubble_cocoa.h"
10 #import "chrome/browser/ui/confirm_bubble_model.h" 10 #import "chrome/browser/ui/confirm_bubble_model.h"
11 #include "ui/gfx/geometry/point.h"
11 #include "ui/gfx/image/image.h" 12 #include "ui/gfx/image/image.h"
12 #include "ui/gfx/point.h"
13 13
14 @implementation ConfirmBubbleController 14 @implementation ConfirmBubbleController
15 15
16 - (id)initWithParent:(NSView*)parent 16 - (id)initWithParent:(NSView*)parent
17 origin:(CGPoint)origin 17 origin:(CGPoint)origin
18 model:(scoped_ptr<ConfirmBubbleModel>)model { 18 model:(scoped_ptr<ConfirmBubbleModel>)model {
19 if ((self = [super initWithNibName:nil bundle:nil])) { 19 if ((self = [super initWithNibName:nil bundle:nil])) {
20 parent_ = parent; 20 parent_ = parent;
21 origin_ = origin; 21 origin_ = origin;
22 model_ = model.Pass(); 22 model_ = model.Pass();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 81
82 - (void)cancel { 82 - (void)cancel {
83 model_->Cancel(); 83 model_->Cancel();
84 } 84 }
85 85
86 - (void)linkClicked { 86 - (void)linkClicked {
87 model_->LinkClicked(); 87 model_->LinkClicked();
88 } 88 }
89 89
90 @end 90 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_cocoa.mm ('k') | chrome/browser/ui/cocoa/confirm_bubble_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698