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

Unified Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 115740: Move download shelf from per-tab to per-window (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | chrome/test/automation/automation_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/temp_scaffolding_stubs.cc
===================================================================
--- chrome/common/temp_scaffolding_stubs.cc (revision 17483)
+++ chrome/common/temp_scaffolding_stubs.cc (working copy)
@@ -21,11 +21,6 @@
#include "chrome/browser/shell_integration.h"
#include "chrome/common/process_watcher.h"
-#if defined(OS_MACOSX)
-#include "chrome/browser/download/download_item_model.h"
-#include "chrome/browser/download/download_shelf.h"
-#endif
-
#if defined(OS_LINUX)
#include "chrome/browser/dock_info.h"
#endif
@@ -218,26 +213,6 @@
//--------------------------------------------------------------------------
-#if defined(OS_MACOSX)
-
-class DownloadShelfMac : public DownloadShelf {
- public:
- explicit DownloadShelfMac(TabContents* tab_contents)
- : DownloadShelf(tab_contents) { }
- virtual void AddDownload(BaseDownloadItemModel* download_model) { }
- virtual bool IsShowing() const { return false; }
- virtual bool IsClosing() const { return false; }
-};
-
-// static
-DownloadShelf* DownloadShelf::Create(TabContents* tab_contents) {
- return new DownloadShelfMac(tab_contents);
-}
-
-#endif
-
-//--------------------------------------------------------------------------
-
void RunRepostFormWarningDialog(NavigationController*) {
}
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.h ('k') | chrome/test/automation/automation_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698