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

Side by Side Diff: chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h

Issue 6989001: Misc. infobar stuff: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 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_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELEGAT E_H_ 5 #ifndef CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELEGAT E_H_
6 #define CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELEGAT E_H_ 6 #define CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELEGAT E_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "chrome/browser/custom_handlers/protocol_handler.h" 10 #include "chrome/browser/custom_handlers/protocol_handler.h"
11 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" 11 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h"
12 12
13 class SkBitmap;
14 class ProtocolHandlerRegistry; 13 class ProtocolHandlerRegistry;
15 class TabContents; 14 class TabContents;
16 15
17 // An InfoBar delegate that enables the user to allow or deny storing credit 16 // An InfoBar delegate that enables the user to allow or deny storing credit
18 // card information gathered from a form submission. 17 // card information gathered from a form submission.
19 class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { 18 class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate {
20 public: 19 public:
21 RegisterProtocolHandlerInfoBarDelegate(TabContents* tab_contents, 20 RegisterProtocolHandlerInfoBarDelegate(TabContents* tab_contents,
22 ProtocolHandlerRegistry* registry, 21 ProtocolHandlerRegistry* registry,
23 ProtocolHandler handler); 22 ProtocolHandler handler);
(...skipping 11 matching lines...) Expand all
35 34
36 private: 35 private:
37 TabContents* tab_contents_; 36 TabContents* tab_contents_;
38 ProtocolHandlerRegistry* registry_; 37 ProtocolHandlerRegistry* registry_;
39 ProtocolHandler handler_; 38 ProtocolHandler handler_;
40 39
41 DISALLOW_COPY_AND_ASSIGN(RegisterProtocolHandlerInfoBarDelegate); 40 DISALLOW_COPY_AND_ASSIGN(RegisterProtocolHandlerInfoBarDelegate);
42 }; 41 };
43 42
44 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELE GATE_H_ 43 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELE GATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_metrics_unittest.cc ('k') | chrome/browser/extensions/extension_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698