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

Side by Side Diff: chrome/browser/ui/webui/options/password_manager_handler.h

Issue 71003002: Merge browser/ui/password and browser/ui/passwords. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/prefs/pref_member.h" 11 #include "base/prefs/pref_member.h"
12 #include "chrome/browser/ui/password/password_ui_view.h" 12 #include "chrome/browser/ui/passwords/password_manager_presenter.h"
13 #include "chrome/browser/ui/passwords/password_ui_view.h"
13 #include "chrome/browser/ui/webui/options/options_ui.h" 14 #include "chrome/browser/ui/webui/options/options_ui.h"
14 #include "chrome/browser/ui/webui/options/password_manager_presenter.h"
15 15
16 namespace options { 16 namespace options {
17 17
18 // The WebUI based PasswordUIView. Displays passwords in the web ui. 18 // The WebUI based PasswordUIView. Displays passwords in the web ui.
19 class PasswordManagerHandler : public OptionsPageUIHandler, 19 class PasswordManagerHandler : public OptionsPageUIHandler,
20 public passwords_ui::PasswordUIView { 20 public PasswordUIView {
21 public: 21 public:
22 PasswordManagerHandler(); 22 PasswordManagerHandler();
23 virtual ~PasswordManagerHandler(); 23 virtual ~PasswordManagerHandler();
24 24
25 // OptionsPageUIHandler implementation. 25 // OptionsPageUIHandler implementation.
26 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE; 26 virtual void GetLocalizedValues(DictionaryValue* localized_strings) OVERRIDE;
27 virtual void InitializeHandler() OVERRIDE; 27 virtual void InitializeHandler() OVERRIDE;
28 virtual void RegisterMessages() OVERRIDE; 28 virtual void RegisterMessages() OVERRIDE;
29 29
30 // PasswordUIView implementation. 30 // PasswordUIView implementation.
(...skipping 21 matching lines...) Expand all
52 void HandleRemovePasswordException(const ListValue* args); 52 void HandleRemovePasswordException(const ListValue* args);
53 53
54 // Requests the plain text password for an entry to be revealed. 54 // Requests the plain text password for an entry to be revealed.
55 // |index| The index of the entry. 55 // |index| The index of the entry.
56 void HandleRequestShowPassword(const ListValue* args); 56 void HandleRequestShowPassword(const ListValue* args);
57 57
58 // User pref for storing accept languages. 58 // User pref for storing accept languages.
59 std::string languages_; 59 std::string languages_;
60 60
61 // The PasswordManagerPresenter object owned by the this view. 61 // The PasswordManagerPresenter object owned by the this view.
62 options::PasswordManagerPresenter password_manager_presenter_; 62 PasswordManagerPresenter password_manager_presenter_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); 64 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler);
65 }; 65 };
66 66
67 } // namespace options 67 } // namespace options
68 68
69 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ 69 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/passwords/password_ui_view.h ('k') | chrome/browser/ui/webui/options/password_manager_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698