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

Unified Diff: chrome/browser/download/download_request_infobar_delegate.h

Issue 6249010: Cleanup: de-inline a bunch of classes, rename and move "PluginInstaller" to "... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: chrome/browser/download/download_request_infobar_delegate.h
===================================================================
--- chrome/browser/download/download_request_infobar_delegate.h (revision 72158)
+++ chrome/browser/download/download_request_infobar_delegate.h (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -19,30 +19,25 @@
class DownloadRequestInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
DownloadRequestInfoBarDelegate(
- TabContents* tab, DownloadRequestLimiter::TabDownloadState* host);
+ TabContents* tab,
+ DownloadRequestLimiter::TabDownloadState* host);
- virtual ~DownloadRequestInfoBarDelegate();
-
void set_host(DownloadRequestLimiter::TabDownloadState* host) {
host_ = host;
}
- virtual void InfoBarClosed();
+ private:
+ virtual ~DownloadRequestInfoBarDelegate();
- virtual string16 GetMessageText() const;
-
+ // ConfirmInfoBarDelegate:
+ virtual void InfoBarClosed();
virtual SkBitmap* GetIcon() const;
-
+ virtual string16 GetMessageText() const;
virtual int GetButtons() const;
-
- virtual string16 GetButtonLabel(
- ConfirmInfoBarDelegate::InfoBarButton button) const;
-
+ virtual string16 GetButtonLabel(InfoBarButton button) const;
virtual bool Accept();
-
virtual bool Cancel();
- private:
DownloadRequestLimiter::TabDownloadState* host_;
DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate);
« no previous file with comments | « chrome/browser/download/download_manager.cc ('k') | chrome/browser/download/download_request_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698