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

Unified Diff: chrome/browser/cocoa/download_request_dialog_delegate_mac.h

Issue 275011: Make the multiple download request dialog an infobar.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/cocoa/download_request_dialog_delegate_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/download_request_dialog_delegate_mac.h
===================================================================
--- chrome/browser/cocoa/download_request_dialog_delegate_mac.h (revision 28899)
+++ chrome/browser/cocoa/download_request_dialog_delegate_mac.h (working copy)
@@ -1,43 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_DIALOG_DELEGATE_MAC_H_
-#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_DIALOG_DELEGATE_MAC_H_
-
-#include "base/scoped_nsobject.h"
-#include "base/scoped_ptr.h"
-#include "chrome/browser/cocoa/constrained_window_mac.h"
-#include "chrome/browser/download/download_request_dialog_delegate.h"
-#include "chrome/browser/download/download_request_manager.h"
-
-@class SheetCallback;
-class TabContents;
-
-class DownloadRequestDialogDelegateMac : public DownloadRequestDialogDelegate,
- public ConstrainedWindowMacDelegateSystemSheet {
- public:
- DownloadRequestDialogDelegateMac(TabContents* tab,
- DownloadRequestManager::TabDownloadState* host);
-
- // Implement ConstrainedWindowMacDelegateSystemSheet.
- virtual void DeleteDelegate();
-
- // Called when the sheet is done.
- void SheetDidEnd(int returnCode);
-
- private:
- // DownloadRequestDialogDelegate methods.
- virtual void CloseWindow();
-
- // The ConstrainedWindow that is hosting our DownloadRequestDialog.
- ConstrainedWindow* window_;
-
- // Has a button on the sheet been clicked?
- bool responded_;
-
- DISALLOW_COPY_AND_ASSIGN(DownloadRequestDialogDelegateMac);
-};
-
-#endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_DIALOG_DELEGATE_MAC_H_
-
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/cocoa/download_request_dialog_delegate_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698