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

Side by Side Diff: chrome/browser/ui/cocoa/download/download_shelf_mac.mm

Issue 6546073: More OOLing on Mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Yeap Created 9 years, 10 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/download/download_shelf_mac.h" 5 #include "chrome/browser/ui/cocoa/download/download_shelf_mac.h"
6 6
7 #include "chrome/browser/download/download_item_model.h" 7 #include "chrome/browser/download/download_item_model.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #import "chrome/browser/ui/cocoa/download/download_shelf_controller.h" 9 #import "chrome/browser/ui/cocoa/download/download_shelf_controller.h"
10 #include "chrome/browser/ui/cocoa/download/download_item_mac.h" 10 #include "chrome/browser/ui/cocoa/download/download_item_mac.h"
(...skipping 20 matching lines...) Expand all
31 31
32 void DownloadShelfMac::Show() { 32 void DownloadShelfMac::Show() {
33 [shelf_controller_ show:nil]; 33 [shelf_controller_ show:nil];
34 browser_->UpdateDownloadShelfVisibility(true); 34 browser_->UpdateDownloadShelfVisibility(true);
35 } 35 }
36 36
37 void DownloadShelfMac::Close() { 37 void DownloadShelfMac::Close() {
38 [shelf_controller_ hide:nil]; 38 [shelf_controller_ hide:nil];
39 browser_->UpdateDownloadShelfVisibility(false); 39 browser_->UpdateDownloadShelfVisibility(false);
40 } 40 }
41
42 Browser* DownloadShelfMac::browser() const {
43 return browser_;
44 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/download/download_shelf_mac.h ('k') | chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698