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

Side by Side Diff: chrome/browser/download/download_request_infobar_delegate.h

Issue 6262018: Cleanup:... (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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 6 #define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "chrome/browser/download/download_request_limiter.h" 10 #include "chrome/browser/download/download_request_limiter.h"
(...skipping 15 matching lines...) Expand all
26 host_ = host; 26 host_ = host;
27 } 27 }
28 28
29 private: 29 private:
30 virtual ~DownloadRequestInfoBarDelegate(); 30 virtual ~DownloadRequestInfoBarDelegate();
31 31
32 // ConfirmInfoBarDelegate: 32 // ConfirmInfoBarDelegate:
33 virtual void InfoBarClosed(); 33 virtual void InfoBarClosed();
34 virtual SkBitmap* GetIcon() const; 34 virtual SkBitmap* GetIcon() const;
35 virtual string16 GetMessageText() const; 35 virtual string16 GetMessageText() const;
36 virtual int GetButtons() const;
37 virtual string16 GetButtonLabel(InfoBarButton button) const; 36 virtual string16 GetButtonLabel(InfoBarButton button) const;
38 virtual bool Accept(); 37 virtual bool Accept();
39 virtual bool Cancel(); 38 virtual bool Cancel();
40 39
41 DownloadRequestLimiter::TabDownloadState* host_; 40 DownloadRequestLimiter::TabDownloadState* host_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate); 42 DISALLOW_COPY_AND_ASSIGN(DownloadRequestInfoBarDelegate);
44 }; 43 };
45 44
46 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_ 45 #endif // CHROME_BROWSER_DOWNLOAD_DOWNLOAD_REQUEST_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.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