| 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_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ | 6 #define CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "chrome/browser/tab_contents/confirm_infobar_delegate.h" | 10 #include "chrome/browser/api/infobars/confirm_infobar_delegate.h" |
| 11 #include "webkit/glue/web_intent_service_data.h" | 11 #include "webkit/glue/web_intent_service_data.h" |
| 12 | 12 |
| 13 class InfoBarTabHelper; | 13 class InfoBarTabHelper; |
| 14 class WebIntentsRegistry; | 14 class WebIntentsRegistry; |
| 15 class FaviconService; | 15 class FaviconService; |
| 16 class GURL; | 16 class GURL; |
| 17 | 17 |
| 18 // The InfoBar used to request permission for a site to be registered as an | 18 // The InfoBar used to request permission for a site to be registered as an |
| 19 // Intent handler. | 19 // Intent handler. |
| 20 class RegisterIntentHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { | 20 class RegisterIntentHandlerInfoBarDelegate : public ConfirmInfoBarDelegate { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 // The favicon service to use. Weak pointer. | 59 // The favicon service to use. Weak pointer. |
| 60 FaviconService* favicon_service_; | 60 FaviconService* favicon_service_; |
| 61 | 61 |
| 62 // The URL of the page the service was originally registered from. | 62 // The URL of the page the service was originally registered from. |
| 63 GURL origin_url_; | 63 GURL origin_url_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(RegisterIntentHandlerInfoBarDelegate); | 65 DISALLOW_COPY_AND_ASSIGN(RegisterIntentHandlerInfoBarDelegate); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 #endif // CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ | 68 #endif // CHROME_BROWSER_INTENTS_REGISTER_INTENT_HANDLER_INFOBAR_DELEGATE_H_ |
| OLD | NEW |