OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
11 #include "base/i18n/rtl.h" | 11 #include "base/i18n/rtl.h" |
| 12 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
14 #include "base/values.h" | 15 #include "base/values.h" |
15 #include "ui/base/window_open_disposition.h" | 16 #include "ui/base/window_open_disposition.h" |
16 #include "url/gurl.h" | 17 #include "url/gurl.h" |
17 | 18 |
18 class IdentityProvider; | 19 class IdentityProvider; |
19 | 20 |
20 namespace content { | 21 namespace content { |
21 class RenderFrameHost; | 22 class RenderFrameHost; |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // Informs the client that a user gesture has been observed. | 191 // Informs the client that a user gesture has been observed. |
191 virtual void OnFirstUserGestureObserved() = 0; | 192 virtual void OnFirstUserGestureObserved() = 0; |
192 | 193 |
193 // If the context is secure. | 194 // If the context is secure. |
194 virtual bool IsContextSecure(const GURL& form_origin) = 0; | 195 virtual bool IsContextSecure(const GURL& form_origin) = 0; |
195 }; | 196 }; |
196 | 197 |
197 } // namespace autofill | 198 } // namespace autofill |
198 | 199 |
199 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 200 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
OLD | NEW |