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

Side by Side Diff: chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.mm

Issue 14307023: chrome: Use base::MessageLoop. (Part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 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 "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h" 5 #import "chrome/browser/ui/cocoa/content_settings/collected_cookies_mac.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/mac/bundle_locations.h" 9 #include "base/mac/bundle_locations.h"
10 #import "base/mac/mac_util.h" 10 #import "base/mac/mac_util.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN); 98 DCHECK(type == chrome::NOTIFICATION_COLLECTED_COOKIES_SHOWN);
99 window_->CloseWebContentsModalDialog(); 99 window_->CloseWebContentsModalDialog();
100 } 100 }
101 101
102 void CollectedCookiesMac::PerformClose() { 102 void CollectedCookiesMac::PerformClose() {
103 window_->CloseWebContentsModalDialog(); 103 window_->CloseWebContentsModalDialog();
104 } 104 }
105 105
106 void CollectedCookiesMac::OnConstrainedWindowClosed( 106 void CollectedCookiesMac::OnConstrainedWindowClosed(
107 ConstrainedWindowMac* window) { 107 ConstrainedWindowMac* window) {
108 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 108 base::MessageLoop::current()->DeleteSoon(FROM_HERE, this);
109 } 109 }
110 110
111 #pragma mark Window Controller 111 #pragma mark Window Controller
112 112
113 @interface CollectedCookiesWindowController(Private) 113 @interface CollectedCookiesWindowController(Private)
114 -(void)showInfoBarForDomain:(const string16&)domain 114 -(void)showInfoBarForDomain:(const string16&)domain
115 setting:(ContentSetting)setting; 115 setting:(ContentSetting)setting;
116 -(void)showInfoBarForMultipleDomainsAndSetting:(ContentSetting)setting; 116 -(void)showInfoBarForMultipleDomainsAndSetting:(ContentSetting)setting;
117 -(void)animateInfoBar; 117 -(void)animateInfoBar;
118 @end 118 @end
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 treeController = blockedTreeController_; 512 treeController = blockedTreeController_;
513 break; 513 break;
514 default: 514 default:
515 NOTREACHED(); 515 NOTREACHED();
516 return; 516 return;
517 } 517 }
518 [detailsViewController_ configureBindingsForTreeController:treeController]; 518 [detailsViewController_ configureBindingsForTreeController:treeController];
519 } 519 }
520 520
521 @end 521 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698