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

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

Issue 12543010: Establish components/autofill and move some files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OWNERS DEPS Created 7 years, 9 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 17 matching lines...) Expand all
28 #include "chrome/browser/extensions/shell_window_registry.h" 28 #include "chrome/browser/extensions/shell_window_registry.h"
29 #include "chrome/browser/profiles/profile.h" 29 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/browser/ui/autofill/autofill_dialog_view.h" 30 #include "chrome/browser/ui/autofill/autofill_dialog_view.h"
31 #include "chrome/browser/ui/autofill/data_model_wrapper.h" 31 #include "chrome/browser/ui/autofill/data_model_wrapper.h"
32 #include "chrome/browser/ui/base_window.h" 32 #include "chrome/browser/ui/base_window.h"
33 #include "chrome/browser/ui/browser.h" 33 #include "chrome/browser/ui/browser.h"
34 #include "chrome/browser/ui/browser_finder.h" 34 #include "chrome/browser/ui/browser_finder.h"
35 #include "chrome/browser/ui/browser_window.h" 35 #include "chrome/browser/ui/browser_window.h"
36 #include "chrome/browser/ui/extensions/native_app_window.h" 36 #include "chrome/browser/ui/extensions/native_app_window.h"
37 #include "chrome/browser/ui/extensions/shell_window.h" 37 #include "chrome/browser/ui/extensions/shell_window.h"
38 #include "chrome/common/form_data.h"
39 #include "chrome/common/pref_names.h" 38 #include "chrome/common/pref_names.h"
39 #include "components/autofill/common/form_data.h"
40 #include "components/user_prefs/pref_registry_syncable.h" 40 #include "components/user_prefs/pref_registry_syncable.h"
41 #include "content/public/browser/navigation_controller.h" 41 #include "content/public/browser/navigation_controller.h"
42 #include "content/public/browser/navigation_details.h" 42 #include "content/public/browser/navigation_details.h"
43 #include "content/public/browser/navigation_entry.h" 43 #include "content/public/browser/navigation_entry.h"
44 #include "content/public/browser/notification_service.h" 44 #include "content/public/browser/notification_service.h"
45 #include "content/public/browser/notification_types.h" 45 #include "content/public/browser/notification_types.h"
46 #include "content/public/browser/web_contents.h" 46 #include "content/public/browser/web_contents.h"
47 #include "content/public/browser/web_contents_view.h" 47 #include "content/public/browser/web_contents_view.h"
48 #include "content/public/common/url_constants.h" 48 #include "content/public/common/url_constants.h"
49 #include "grit/chromium_strings.h" 49 #include "grit/chromium_strings.h"
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 // If the user is editing or inputting data, ask the view. 1417 // If the user is editing or inputting data, ask the view.
1418 if (item_key.empty() || section_editing_state_[SECTION_SHIPPING]) 1418 if (item_key.empty() || section_editing_state_[SECTION_SHIPPING])
1419 return view_->UseBillingForShipping(); 1419 return view_->UseBillingForShipping();
1420 1420
1421 // Otherwise, the checkbox should be hidden so its state is irrelevant. 1421 // Otherwise, the checkbox should be hidden so its state is irrelevant.
1422 // Always use the shipping suggestion model. 1422 // Always use the shipping suggestion model.
1423 return false; 1423 return false;
1424 } 1424 }
1425 1425
1426 } // namespace autofill 1426 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698