OLD | NEW |
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/tab_contents/infobar_delegate.h" | 10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" |
11 | 11 |
12 class SkBitmap; | 12 class SkBitmap; |
13 class ProtocolHandler; | 13 class ProtocolHandler; |
14 class ProtocolHandlerRegistry; | 14 class ProtocolHandlerRegistry; |
15 class TabContents; | 15 class TabContents; |
16 | 16 |
17 // An InfoBar delegate that enables the user to allow or deny storing credit | 17 // An InfoBar delegate that enables the user to allow or deny storing credit |
18 // card information gathered from a form submission. | 18 // card information gathered from a form submission. |
19 class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { | 19 class RegisterProtocolHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { |
20 public: | 20 public: |
(...skipping 15 matching lines...) Expand all Loading... |
36 | 36 |
37 private: | 37 private: |
38 TabContents* tab_contents_; | 38 TabContents* tab_contents_; |
39 ProtocolHandlerRegistry* registry_; | 39 ProtocolHandlerRegistry* registry_; |
40 ProtocolHandler* handler_; | 40 ProtocolHandler* handler_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(RegisterProtocolHandlerInfoBarDelegate); | 42 DISALLOW_COPY_AND_ASSIGN(RegisterProtocolHandlerInfoBarDelegate); |
43 }; | 43 }; |
44 | 44 |
45 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELE
GATE_H_ | 45 #endif // CHROME_BROWSER_CUSTOM_HANDLERS_REGISTER_PROTOCOL_HANDLER_INFOBAR_DELE
GATE_H_ |
OLD | NEW |