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

Side by Side Diff: components/autofill/content/renderer/form_autofill_util.cc

Issue 715733002: [Android] Show autofill popup after animation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 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/content/renderer/form_autofill_util.h" 5 #include "components/autofill/content/renderer/form_autofill_util.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 tag_is_allowed = true; 1357 tag_is_allowed = true;
1358 break; 1358 break;
1359 } 1359 }
1360 } 1360 }
1361 if (!tag_is_allowed) 1361 if (!tag_is_allowed)
1362 return false; 1362 return false;
1363 } 1363 }
1364 return true; 1364 return true;
1365 } 1365 }
1366 1366
1367 gfx::RectF GetScaledBoundingBox(float scale, WebFormControlElement* element) { 1367 gfx::RectF GetScaledBoundingBox(float scale, WebElement* element) {
1368 gfx::Rect bounding_box(element->boundsInViewportSpace()); 1368 gfx::Rect bounding_box(element->boundsInViewportSpace());
1369 return gfx::RectF(bounding_box.x() * scale, 1369 return gfx::RectF(bounding_box.x() * scale,
1370 bounding_box.y() * scale, 1370 bounding_box.y() * scale,
1371 bounding_box.width() * scale, 1371 bounding_box.width() * scale,
1372 bounding_box.height() * scale); 1372 bounding_box.height() * scale);
1373 } 1373 }
1374 1374
1375 } // namespace autofill 1375 } // namespace autofill
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/form_autofill_util.h ('k') | components/autofill/content/renderer/page_click_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698