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

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

Issue 51663003: ui: Move android C++ source files into base/android directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h" 5 #include "chrome/browser/ui/android/autofill/autofill_dialog_controller_android. h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_array.h" 8 #include "base/android/jni_array.h"
9 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
10 #include "base/android/scoped_java_ref.h" 10 #include "base/android/scoped_java_ref.h"
(...skipping 19 matching lines...) Expand all
30 #include "components/autofill/core/browser/credit_card.h" 30 #include "components/autofill/core/browser/credit_card.h"
31 #include "components/autofill/core/browser/personal_data_manager.h" 31 #include "components/autofill/core/browser/personal_data_manager.h"
32 #include "components/autofill/core/common/form_data.h" 32 #include "components/autofill/core/common/form_data.h"
33 #include "components/user_prefs/pref_registry_syncable.h" 33 #include "components/user_prefs/pref_registry_syncable.h"
34 #include "content/public/browser/navigation_controller.h" 34 #include "content/public/browser/navigation_controller.h"
35 #include "content/public/browser/navigation_details.h" 35 #include "content/public/browser/navigation_details.h"
36 #include "content/public/browser/navigation_entry.h" 36 #include "content/public/browser/navigation_entry.h"
37 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
38 #include "grit/generated_resources.h" 38 #include "grit/generated_resources.h"
39 #include "jni/AutofillDialogControllerAndroid_jni.h" 39 #include "jni/AutofillDialogControllerAndroid_jni.h"
40 #include "ui/android/window_android.h" 40 #include "ui/base/android/window_android.h"
41 #include "ui/base/l10n/l10n_util.h" 41 #include "ui/base/l10n/l10n_util.h"
42 #include "ui/base/models/combobox_model.h" 42 #include "ui/base/models/combobox_model.h"
43 #include "ui/base/models/menu_model.h" 43 #include "ui/base/models/menu_model.h"
44 #include "ui/gfx/android/java_bitmap.h" 44 #include "ui/gfx/android/java_bitmap.h"
45 #include "ui/gfx/rect.h" 45 #include "ui/gfx/rect.h"
46 #include "url/gurl.h" 46 #include "url/gurl.h"
47 47
48 namespace autofill { 48 namespace autofill {
49 49
50 namespace { 50 namespace {
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 442
443 void AutofillDialogControllerAndroid::LogOnCancelMetrics() { 443 void AutofillDialogControllerAndroid::LogOnCancelMetrics() {
444 GetMetricLogger().LogDialogUiDuration( 444 GetMetricLogger().LogDialogUiDuration(
445 base::Time::Now() - dialog_shown_timestamp_, 445 base::Time::Now() - dialog_shown_timestamp_,
446 AutofillMetrics::DIALOG_CANCELED); 446 AutofillMetrics::DIALOG_CANCELED);
447 447
448 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_CANCELED); 448 GetMetricLogger().LogDialogUiEvent(AutofillMetrics::DIALOG_UI_CANCELED);
449 } 449 }
450 450
451 } // namespace autofill 451 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698