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

Side by Side Diff: chrome/browser/ui/blocked_content/popup_blocked_infobar_delegate.h

Issue 11316153: implement input type=color for android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_BLOCKED_CONTENT_POPUP_BLOCKED_INFOBAR_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BLOCKED_CONTENT_POPUP_BLOCKED_INFOBAR_DELEGATE_H_
7
8 #include "chrome/browser/infobars/confirm_infobar_delegate.h"
9
10 class InfoBarService;
11
12 class PopupBlockedInfoBarDelegate : public ConfirmInfoBarDelegate {
13 public:
14 static InfoBarDelegate* Create(InfoBarService* infobar_service, int n_popups);
15 virtual ~PopupBlockedInfoBarDelegate();
16
17 // ConfirmInfoBarDelegate:
18 virtual string16 GetMessageText() const OVERRIDE;
19 virtual int GetButtons() const OVERRIDE;
20 virtual string16 GetButtonLabel(InfoBarButton button) const OVERRIDE;
21 virtual int GetIconID() const OVERRIDE;
22 virtual PopupBlockedInfoBarDelegate* AsPopupBlockedInfoBarDelegate() OVERRIDE;
23 virtual bool Accept() OVERRIDE;
24
25
26 private:
27 PopupBlockedInfoBarDelegate(InfoBarService* infobar_service, int n_popups);
28 int n_popups_;
29
30 DISALLOW_COPY_AND_ASSIGN(PopupBlockedInfoBarDelegate);
31 };
32
33 #endif // CHROME_BROWSER_UI_BLOCKED_CONTENT_POPUP_BLOCKED_INFOBAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/infobars/infobar_delegate.cc ('k') | chrome/browser/ui/blocked_content/popup_blocked_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698