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

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

Issue 1526263003: Position autofill popup widgets correctly under --site-per-process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed incorrect cast 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 #include "components/autofill/ios/browser/autofill_driver_ios.h" 5 #include "components/autofill/ios/browser/autofill_driver_ios.h"
6 6
7 #include "components/autofill/ios/browser/autofill_driver_ios_bridge.h" 7 #include "components/autofill/ios/browser/autofill_driver_ios_bridge.h"
8 #include "ios/web/public/browser_state.h" 8 #include "ios/web/public/browser_state.h"
9 #include "ios/web/public/web_state/web_state.h" 9 #include "ios/web/public/web_state/web_state.h"
10 #include "ios/web/public/web_thread.h" 10 #include "ios/web/public/web_thread.h"
11 #include "ui/gfx/geometry/rect_f.h"
11 12
12 DEFINE_WEB_STATE_USER_DATA_KEY(autofill::AutofillDriverIOS); 13 DEFINE_WEB_STATE_USER_DATA_KEY(autofill::AutofillDriverIOS);
13 14
14 namespace autofill { 15 namespace autofill {
15 16
16 // static 17 // static
17 void AutofillDriverIOS::CreateForWebStateAndDelegate( 18 void AutofillDriverIOS::CreateForWebStateAndDelegate(
18 web::WebState* web_state, 19 web::WebState* web_state,
19 AutofillClient* client, 20 AutofillClient* client,
20 id<AutofillDriverIOSBridge> bridge, 21 id<AutofillDriverIOSBridge> bridge,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const base::string16& value) { 92 const base::string16& value) {
92 } 93 }
93 94
94 void AutofillDriverIOS::RendererShouldPreviewFieldWithValue( 95 void AutofillDriverIOS::RendererShouldPreviewFieldWithValue(
95 const base::string16& value) { 96 const base::string16& value) {
96 } 97 }
97 98
98 void AutofillDriverIOS::PopupHidden() { 99 void AutofillDriverIOS::PopupHidden() {
99 } 100 }
100 101
102 gfx::RectF AutofillDriverIOS::TransformBoundingBoxToViewportCoordinates(
103 const gfx::RectF& bounding_box) {
104 return bounding_box;
105 }
106
101 } // namespace autofill 107 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/ios/browser/autofill_driver_ios.h ('k') | content/browser/frame_host/cross_process_frame_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698