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

Side by Side Diff: components/autofill/content/renderer/password_generation_agent.cc

Issue 108283005: Moved ipc-specific files from autofill/core to autofill/content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "Final" fix. Created 7 years 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
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 "components/autofill/content/renderer/password_generation_agent.h" 5 #include "components/autofill/content/renderer/password_generation_agent.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/autofill/content/common/autofill_messages.h"
10 #include "components/autofill/content/renderer/password_form_conversion_utils.h" 11 #include "components/autofill/content/renderer/password_form_conversion_utils.h"
11 #include "components/autofill/core/common/autofill_messages.h"
12 #include "components/autofill/core/common/autofill_switches.h" 12 #include "components/autofill/core/common/autofill_switches.h"
13 #include "components/autofill/core/common/form_data.h" 13 #include "components/autofill/core/common/form_data.h"
14 #include "components/autofill/core/common/password_form.h" 14 #include "components/autofill/core/common/password_form.h"
15 #include "components/autofill/core/common/password_generation_util.h" 15 #include "components/autofill/core/common/password_generation_util.h"
16 #include "content/public/renderer/render_view.h" 16 #include "content/public/renderer/render_view.h"
17 #include "google_apis/gaia/gaia_urls.h" 17 #include "google_apis/gaia/gaia_urls.h"
18 #include "third_party/WebKit/public/platform/WebCString.h" 18 #include "third_party/WebKit/public/platform/WebCString.h"
19 #include "third_party/WebKit/public/platform/WebRect.h" 19 #include "third_party/WebKit/public/platform/WebRect.h"
20 #include "third_party/WebKit/public/platform/WebVector.h" 20 #include "third_party/WebKit/public/platform/WebVector.h"
21 #include "third_party/WebKit/public/web/WebDocument.h" 21 #include "third_party/WebKit/public/web/WebDocument.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 return; 265 return;
266 } 266 }
267 267
268 passwords_[0].passwordGeneratorButtonElement().setAttribute("style", 268 passwords_[0].passwordGeneratorButtonElement().setAttribute("style",
269 "display:block"); 269 "display:block");
270 password_generation::LogPasswordGenerationEvent( 270 password_generation::LogPasswordGenerationEvent(
271 password_generation::ICON_SHOWN); 271 password_generation::ICON_SHOWN);
272 } 272 }
273 273
274 } // namespace autofill 274 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698