| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_PERMISSIONS_PERMISSION_PROMPT_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_PERMISSIONS_PERMISSION_PROMPT_ANDROID_H_ |
| 6 #define CHROME_BROWSER_PERMISSIONS_PERMISSION_PROMPT_ANDROID_H_ | 6 #define CHROME_BROWSER_PERMISSIONS_PERMISSION_PROMPT_ANDROID_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/website_settings/permission_prompt.h" | 8 #include "chrome/browser/ui/website_settings/permission_prompt.h" |
| 9 | 9 |
| 10 class GroupedPermissionInfoBarDelegate; | |
| 11 class InfoBarService; | 10 class InfoBarService; |
| 12 | 11 |
| 13 namespace content { | 12 namespace content { |
| 14 class WebContents; | 13 class WebContents; |
| 15 } | 14 } |
| 16 | 15 |
| 17 namespace infobars { | 16 namespace infobars { |
| 18 class InfoBar; | 17 class InfoBar; |
| 19 } | 18 } |
| 20 | 19 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 46 // |delegate_| is the PermissionRequestManager, which owns this object. | 45 // |delegate_| is the PermissionRequestManager, which owns this object. |
| 47 Delegate* delegate_; | 46 Delegate* delegate_; |
| 48 // |infobar_| is owned by the InfoBarService; we keep a pointer here so we can | 47 // |infobar_| is owned by the InfoBarService; we keep a pointer here so we can |
| 49 // ask the service to remove the infobar after it is added. | 48 // ask the service to remove the infobar after it is added. |
| 50 infobars::InfoBar* infobar_; | 49 infobars::InfoBar* infobar_; |
| 51 | 50 |
| 52 DISALLOW_COPY_AND_ASSIGN(PermissionPromptAndroid); | 51 DISALLOW_COPY_AND_ASSIGN(PermissionPromptAndroid); |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 #endif // CHROME_BROWSER_PERMISSIONS_PERMISSION_PROMPT_ANDROID_H_ | 54 #endif // CHROME_BROWSER_PERMISSIONS_PERMISSION_PROMPT_ANDROID_H_ |
| OLD | NEW |