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

Side by Side Diff: chrome/browser/ui/android/autofill/password_generation_popup_view_android.cc

Issue 1338093002: android: Include rect_f.h to use RectF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr oid.h" 5 #include "chrome/browser/ui/android/autofill/password_generation_popup_view_andr oid.h"
6 6
7 #include <jni.h> 7 #include <jni.h>
8 8
9 #include "base/android/jni_android.h" 9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h" 10 #include "base/android/jni_string.h"
11 #include "base/android/scoped_java_ref.h" 11 #include "base/android/scoped_java_ref.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "chrome/browser/ui/android/window_android_helper.h" 13 #include "chrome/browser/ui/android/window_android_helper.h"
14 #include "chrome/browser/ui/autofill/password_generation_popup_controller.h" 14 #include "chrome/browser/ui/autofill/password_generation_popup_controller.h"
15 #include "content/public/browser/android/content_view_core.h" 15 #include "content/public/browser/android/content_view_core.h"
16 #include "jni/PasswordGenerationPopupBridge_jni.h" 16 #include "jni/PasswordGenerationPopupBridge_jni.h"
17 #include "ui/android/view_android.h" 17 #include "ui/android/view_android.h"
18 #include "ui/android/window_android.h" 18 #include "ui/android/window_android.h"
19 #include "ui/gfx/geometry/rect.h" 19 #include "ui/gfx/geometry/rect_f.h"
20 #include "ui/gfx/range/range.h" 20 #include "ui/gfx/range/range.h"
21 21
22 namespace autofill { 22 namespace autofill {
23 23
24 PasswordGenerationPopupViewAndroid::PasswordGenerationPopupViewAndroid( 24 PasswordGenerationPopupViewAndroid::PasswordGenerationPopupViewAndroid(
25 PasswordGenerationPopupController* controller) 25 PasswordGenerationPopupController* controller)
26 : controller_(controller) {} 26 : controller_(controller) {}
27 27
28 void PasswordGenerationPopupViewAndroid::SavedPasswordsLinkClicked( 28 void PasswordGenerationPopupViewAndroid::SavedPasswordsLinkClicked(
29 JNIEnv* env, jobject obj) { 29 JNIEnv* env, jobject obj) {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 return false; 114 return false;
115 } 115 }
116 116
117 // static 117 // static
118 PasswordGenerationPopupView* PasswordGenerationPopupView::Create( 118 PasswordGenerationPopupView* PasswordGenerationPopupView::Create(
119 PasswordGenerationPopupController* controller) { 119 PasswordGenerationPopupController* controller) {
120 return new PasswordGenerationPopupViewAndroid(controller); 120 return new PasswordGenerationPopupViewAndroid(controller);
121 } 121 }
122 122
123 } // namespace autofill 123 } // namespace autofill
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698