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

Side by Side Diff: components/autofill/browser/autofill_external_delegate.cc

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines 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 "base/utf_string_conversions.h" 5 #include "base/utf_string_conversions.h"
6 #include "chrome/browser/autofill/autocomplete_history_manager.h" 6 #include "components/autofill/browser/autocomplete_history_manager.h"
7 #include "chrome/browser/autofill/autofill_external_delegate.h" 7 #include "components/autofill/browser/autofill_external_delegate.h"
8 #include "chrome/browser/autofill/autofill_manager.h" 8 #include "components/autofill/browser/autofill_manager.h"
9 #include "components/autofill/common/autofill_messages.h" 9 #include "components/autofill/common/autofill_messages.h"
10 #include "content/public/browser/navigation_controller.h" 10 #include "content/public/browser/navigation_controller.h"
11 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
12 #include "content/public/browser/notification_source.h" 12 #include "content/public/browser/notification_source.h"
13 #include "content/public/browser/notification_types.h" 13 #include "content/public/browser/notification_types.h"
14 #include "content/public/browser/render_view_host.h" 14 #include "content/public/browser/render_view_host.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "grit/chromium_strings.h" 16 #include "grit/chromium_strings.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAutofillClient.h"
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 const content::NotificationDetails& details) { 373 const content::NotificationDetails& details) {
374 if (type == content::NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED) { 374 if (type == content::NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED) {
375 if (!*content::Details<bool>(details).ptr()) 375 if (!*content::Details<bool>(details).ptr())
376 autofill_manager_->delegate()->HideAutofillPopup(); 376 autofill_manager_->delegate()->HideAutofillPopup();
377 } else if (type == content::NOTIFICATION_NAV_ENTRY_COMMITTED) { 377 } else if (type == content::NOTIFICATION_NAV_ENTRY_COMMITTED) {
378 autofill_manager_->delegate()->HideAutofillPopup(); 378 autofill_manager_->delegate()->HideAutofillPopup();
379 } else { 379 } else {
380 NOTREACHED(); 380 NOTREACHED();
381 } 381 }
382 } 382 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698