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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "content/public/browser/reload_type.h" |
11 #include "content/public/browser/web_contents_observer.h" | 12 #include "content/public/browser/web_contents_observer.h" |
12 #include "ui/views/controls/styled_label_listener.h" | 13 #include "ui/views/controls/styled_label_listener.h" |
13 #include "ui/views/window/dialog_delegate.h" | 14 #include "ui/views/window/dialog_delegate.h" |
14 | 15 |
15 namespace content { | 16 namespace content { |
16 class WebContents; | 17 class WebContents; |
17 } | 18 } |
18 | 19 |
19 namespace chromeos { | 20 namespace chromeos { |
20 namespace attestation { | 21 namespace attestation { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 gfx::Size GetPreferredSize() const override; | 62 gfx::Size GetPreferredSize() const override; |
62 | 63 |
63 // views::StyledLabelListener: | 64 // views::StyledLabelListener: |
64 void StyledLabelLinkClicked(views::StyledLabel* label, | 65 void StyledLabelLinkClicked(views::StyledLabel* label, |
65 const gfx::Range& range, | 66 const gfx::Range& range, |
66 int event_flags) override; | 67 int event_flags) override; |
67 | 68 |
68 // content::WebContentsObserver: | 69 // content::WebContentsObserver: |
69 void DidStartNavigationToPendingEntry( | 70 void DidStartNavigationToPendingEntry( |
70 const GURL& url, | 71 const GURL& url, |
71 content::NavigationController::ReloadType reload_type) override; | 72 content::ReloadType reload_type) override; |
72 | 73 |
73 base::string16 domain_; | 74 base::string16 domain_; |
74 ConsentCallback callback_; | 75 ConsentCallback callback_; |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(PlatformVerificationDialog); | 77 DISALLOW_COPY_AND_ASSIGN(PlatformVerificationDialog); |
77 }; | 78 }; |
78 | 79 |
79 } // namespace attestation | 80 } // namespace attestation |
80 } // namespace chromeos | 81 } // namespace chromeos |
81 | 82 |
82 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ | 83 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ |
OLD | NEW |