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 <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
12 #include "base/i18n/rtl.h" | 12 #include "base/i18n/rtl.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
15 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
16 #include "base/values.h" | 15 #include "base/values.h" |
17 #include "ui/base/window_open_disposition.h" | 16 #include "ui/base/window_open_disposition.h" |
18 #include "url/gurl.h" | 17 #include "url/gurl.h" |
19 | 18 |
20 class IdentityProvider; | 19 class IdentityProvider; |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 class RenderFrameHost; | 22 class RenderFrameHost; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // Informs the client that a user gesture has been observed. | 200 // Informs the client that a user gesture has been observed. |
202 virtual void OnFirstUserGestureObserved() = 0; | 201 virtual void OnFirstUserGestureObserved() = 0; |
203 | 202 |
204 // If the context is secure. | 203 // If the context is secure. |
205 virtual bool IsContextSecure(const GURL& form_origin) = 0; | 204 virtual bool IsContextSecure(const GURL& form_origin) = 0; |
206 }; | 205 }; |
207 | 206 |
208 } // namespace autofill | 207 } // namespace autofill |
209 | 208 |
210 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 209 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
OLD | NEW |