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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | 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/autofill/autofill_dialog_controller_impl.h" 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller_impl.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "apps/app_window.h" 11 #include "apps/app_window.h"
12 #include "apps/app_window_registry.h" 12 #include "apps/app_window_registry.h"
13 #include "apps/ui/native_app_window.h"
14 #include "base/base64.h" 13 #include "base/base64.h"
15 #include "base/bind.h" 14 #include "base/bind.h"
16 #include "base/bind_helpers.h" 15 #include "base/bind_helpers.h"
17 #include "base/i18n/case_conversion.h" 16 #include "base/i18n/case_conversion.h"
18 #include "base/i18n/rtl.h" 17 #include "base/i18n/rtl.h"
19 #include "base/logging.h" 18 #include "base/logging.h"
20 #include "base/prefs/pref_registry_simple.h" 19 #include "base/prefs/pref_registry_simple.h"
21 #include "base/prefs/pref_service.h" 20 #include "base/prefs/pref_service.h"
22 #include "base/prefs/scoped_user_pref_update.h" 21 #include "base/prefs/scoped_user_pref_update.h"
23 #include "base/rand_util.h" 22 #include "base/rand_util.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 #include "content/public/browser/browser_thread.h" 68 #include "content/public/browser/browser_thread.h"
70 #include "content/public/browser/geolocation_provider.h" 69 #include "content/public/browser/geolocation_provider.h"
71 #include "content/public/browser/navigation_controller.h" 70 #include "content/public/browser/navigation_controller.h"
72 #include "content/public/browser/navigation_details.h" 71 #include "content/public/browser/navigation_details.h"
73 #include "content/public/browser/navigation_entry.h" 72 #include "content/public/browser/navigation_entry.h"
74 #include "content/public/browser/notification_service.h" 73 #include "content/public/browser/notification_service.h"
75 #include "content/public/browser/notification_types.h" 74 #include "content/public/browser/notification_types.h"
76 #include "content/public/browser/render_view_host.h" 75 #include "content/public/browser/render_view_host.h"
77 #include "content/public/browser/web_contents.h" 76 #include "content/public/browser/web_contents.h"
78 #include "content/public/common/url_constants.h" 77 #include "content/public/common/url_constants.h"
78 #include "extensions/browser/app_window/native_app_window.h"
79 #include "grit/chromium_strings.h" 79 #include "grit/chromium_strings.h"
80 #include "grit/component_scaled_resources.h" 80 #include "grit/component_scaled_resources.h"
81 #include "grit/components_strings.h" 81 #include "grit/components_strings.h"
82 #include "grit/generated_resources.h" 82 #include "grit/generated_resources.h"
83 #include "grit/platform_locale_settings.h" 83 #include "grit/platform_locale_settings.h"
84 #include "grit/theme_resources.h" 84 #include "grit/theme_resources.h"
85 #include "net/cert/cert_status_flags.h" 85 #include "net/cert/cert_status_flags.h"
86 #include "third_party/libaddressinput/chromium/chrome_metadata_source.h" 86 #include "third_party/libaddressinput/chromium/chrome_metadata_source.h"
87 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h" 87 #include "third_party/libaddressinput/chromium/chrome_storage_impl.h"
88 #include "third_party/libaddressinput/messages.h" 88 #include "third_party/libaddressinput/messages.h"
(...skipping 4068 matching lines...) Expand 10 before | Expand all | Expand 10 after
4157 view_->UpdateButtonStrip(); 4157 view_->UpdateButtonStrip();
4158 } 4158 }
4159 4159
4160 void AutofillDialogControllerImpl::FetchWalletCookie() { 4160 void AutofillDialogControllerImpl::FetchWalletCookie() {
4161 net::URLRequestContextGetter* request_context = profile_->GetRequestContext(); 4161 net::URLRequestContextGetter* request_context = profile_->GetRequestContext();
4162 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context)); 4162 signin_helper_.reset(new wallet::WalletSigninHelper(this, request_context));
4163 signin_helper_->StartWalletCookieValueFetch(); 4163 signin_helper_->StartWalletCookieValueFetch();
4164 } 4164 }
4165 4165
4166 } // namespace autofill 4166 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698