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

Side by Side Diff: chrome/browser/ui/cocoa/notifications/balloon_controller.mm

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 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 #include "chrome/browser/ui/cocoa/notifications/balloon_controller.h" 5 #include "chrome/browser/ui/cocoa/notifications/balloon_controller.h"
6 6
7 #include "base/mac/bundle_locations.h" 7 #include "base/mac/bundle_locations.h"
8 #include "base/mac/mac_util.h" 8 #include "base/mac/mac_util.h"
9 #import "base/memory/scoped_nsobject.h" 9 #import "base/mac/scoped_nsobject.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/notifications/balloon.h" 11 #include "chrome/browser/notifications/balloon.h"
12 #include "chrome/browser/notifications/desktop_notification_service.h" 12 #include "chrome/browser/notifications/desktop_notification_service.h"
13 #include "chrome/browser/notifications/desktop_notification_service_factory.h" 13 #include "chrome/browser/notifications/desktop_notification_service_factory.h"
14 #include "chrome/browser/notifications/notification.h" 14 #include "chrome/browser/notifications/notification.h"
15 #include "chrome/browser/notifications/notification_options_menu_model.h" 15 #include "chrome/browser/notifications/notification_options_menu_model.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #import "chrome/browser/ui/cocoa/notifications/balloon_view.h" 17 #import "chrome/browser/ui/cocoa/notifications/balloon_view.h"
18 #include "chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.h" 18 #include "chrome/browser/ui/cocoa/notifications/balloon_view_host_mac.h"
19 #include "content/public/browser/render_view_host.h" 19 #include "content/public/browser/render_view_host.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 htmlContents_.reset(new BalloonViewHost(balloon_)); 216 htmlContents_.reset(new BalloonViewHost(balloon_));
217 htmlContents_->Init(); 217 htmlContents_->Init();
218 } 218 }
219 219
220 // NSWindowDelegate notification. 220 // NSWindowDelegate notification.
221 - (void)windowWillClose:(NSNotification*)notif { 221 - (void)windowWillClose:(NSNotification*)notif {
222 [self autorelease]; 222 [self autorelease];
223 } 223 }
224 224
225 @end 225 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698