| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 bool Close() override; | 54 bool Close() override; |
| 55 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; | 55 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; |
| 56 | 56 |
| 57 // views::WidgetDelegate: | 57 // views::WidgetDelegate: |
| 58 ui::ModalType GetModalType() const override; | 58 ui::ModalType GetModalType() const override; |
| 59 | 59 |
| 60 // views::View: | 60 // views::View: |
| 61 gfx::Size GetPreferredSize() const override; | 61 gfx::Size GetPreferredSize() const override; |
| 62 | 62 |
| 63 // views::StyledLabelListener: | 63 // views::StyledLabelListener: |
| 64 void StyledLabelLinkClicked(const gfx::Range& range, | 64 void StyledLabelLinkClicked(views::StyledLabel* label, |
| 65 const gfx::Range& range, |
| 65 int event_flags) override; | 66 int event_flags) override; |
| 66 | 67 |
| 67 // content::WebContentsObserver: | 68 // content::WebContentsObserver: |
| 68 void DidStartNavigationToPendingEntry( | 69 void DidStartNavigationToPendingEntry( |
| 69 const GURL& url, | 70 const GURL& url, |
| 70 content::NavigationController::ReloadType reload_type) override; | 71 content::NavigationController::ReloadType reload_type) override; |
| 71 | 72 |
| 72 base::string16 domain_; | 73 base::string16 domain_; |
| 73 ConsentCallback callback_; | 74 ConsentCallback callback_; |
| 74 | 75 |
| 75 DISALLOW_COPY_AND_ASSIGN(PlatformVerificationDialog); | 76 DISALLOW_COPY_AND_ASSIGN(PlatformVerificationDialog); |
| 76 }; | 77 }; |
| 77 | 78 |
| 78 } // namespace attestation | 79 } // namespace attestation |
| 79 } // namespace chromeos | 80 } // namespace chromeos |
| 80 | 81 |
| 81 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ | 82 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ |
| OLD | NEW |