Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: components/autofill/ios/browser/autofill_driver_ios.h

Issue 1526263003: Position autofill popup widgets correctly under --site-per-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mo IOS fixin Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IOS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IOS_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IOS_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/autofill/core/browser/autofill_client.h" 10 #include "components/autofill/core/browser/autofill_client.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 void RendererShouldAcceptDataListSuggestion( 51 void RendererShouldAcceptDataListSuggestion(
52 const base::string16& value) override; 52 const base::string16& value) override;
53 base::SequencedWorkerPool* GetBlockingPool() override; 53 base::SequencedWorkerPool* GetBlockingPool() override;
54 54
55 AutofillManager* autofill_manager() { return &autofill_manager_; } 55 AutofillManager* autofill_manager() { return &autofill_manager_; }
56 56
57 void RendererShouldFillFieldWithValue(const base::string16& value) override; 57 void RendererShouldFillFieldWithValue(const base::string16& value) override;
58 void RendererShouldPreviewFieldWithValue( 58 void RendererShouldPreviewFieldWithValue(
59 const base::string16& value) override; 59 const base::string16& value) override;
60 void PopupHidden() override; 60 void PopupHidden() override;
61 gfx::RectF TransformBoundingBox(const gfx::RectF& bounding_box) override;
61 62
62 private: 63 private:
63 AutofillDriverIOS( 64 AutofillDriverIOS(
64 web::WebState* web_state, 65 web::WebState* web_state,
65 AutofillClient* client, 66 AutofillClient* client,
66 id<AutofillDriverIOSBridge> bridge, 67 id<AutofillDriverIOSBridge> bridge,
67 const std::string& app_locale, 68 const std::string& app_locale,
68 AutofillManager::AutofillDownloadManagerState enable_download_manager); 69 AutofillManager::AutofillDownloadManagerState enable_download_manager);
69 ~AutofillDriverIOS() override; 70 ~AutofillDriverIOS() override;
70 71
71 // The WebState with which this object is associated. 72 // The WebState with which this object is associated.
72 web::WebState* web_state_; 73 web::WebState* web_state_;
73 74
74 // AutofillDriverIOSBridge instance that is passed in. 75 // AutofillDriverIOSBridge instance that is passed in.
75 id<AutofillDriverIOSBridge> bridge_; 76 id<AutofillDriverIOSBridge> bridge_;
76 77
77 // AutofillManager instance via which this object drives the shared Autofill 78 // AutofillManager instance via which this object drives the shared Autofill
78 // code. 79 // code.
79 AutofillManager autofill_manager_; 80 AutofillManager autofill_manager_;
80 // AutofillExternalDelegate instance that is passed to the AutofillManager. 81 // AutofillExternalDelegate instance that is passed to the AutofillManager.
81 AutofillExternalDelegate autofill_external_delegate_; 82 AutofillExternalDelegate autofill_external_delegate_;
82 }; 83 };
83 84
84 } // namespace autofill 85 } // namespace autofill
85 86
86 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IOS_H_ 87 #endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_AUTOFILL_DRIVER_IOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698