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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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/passwords/manage_passwords_bubble_model.h" 5 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
6 6
7 #include "base/strings/string_split.h" 7 #include "base/strings/string_split.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "chrome/browser/password_manager/password_store_factory.h" 9 #include "chrome/browser/password_manager/password_store_factory.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/browser/ui/browser_finder.h" 11 #include "chrome/browser/ui/browser_finder.h"
12 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" 12 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"
13 #include "chrome/grit/generated_resources.h"
13 #include "components/password_manager/core/browser/password_store.h" 14 #include "components/password_manager/core/browser/password_store.h"
14 #include "components/password_manager/core/common/password_manager_ui.h" 15 #include "components/password_manager/core/common/password_manager_ui.h"
15 #include "grit/generated_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/resource/resource_bundle.h" 17 #include "ui/base/resource/resource_bundle.h"
18 18
19 using autofill::PasswordFormMap; 19 using autofill::PasswordFormMap;
20 using content::WebContents; 20 using content::WebContents;
21 namespace metrics_util = password_manager::metrics_util; 21 namespace metrics_util = password_manager::metrics_util;
22 22
23 namespace { 23 namespace {
24 24
25 enum FieldType { USERNAME_FIELD, PASSWORD_FIELD }; 25 enum FieldType { USERNAME_FIELD, PASSWORD_FIELD };
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 // static 197 // static
198 int ManagePasswordsBubbleModel::UsernameFieldWidth() { 198 int ManagePasswordsBubbleModel::UsernameFieldWidth() {
199 return GetFieldWidth(USERNAME_FIELD); 199 return GetFieldWidth(USERNAME_FIELD);
200 } 200 }
201 201
202 // static 202 // static
203 int ManagePasswordsBubbleModel::PasswordFieldWidth() { 203 int ManagePasswordsBubbleModel::PasswordFieldWidth() {
204 return GetFieldWidth(PASSWORD_FIELD); 204 return GetFieldWidth(PASSWORD_FIELD);
205 } 205 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_view.cc ('k') | chrome/browser/ui/passwords/manage_passwords_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698