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

Side by Side Diff: chrome/browser/ui/views/passwords/manage_password_item_view.cc

Issue 232753002: Password bubble: Deplatformify ManagePasswordsBubbleView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Feedback. Created 6 years, 8 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/views/passwords/manage_password_item_view.h" 5 #include "chrome/browser/ui/views/passwords/manage_password_item_view.h"
6 6
7 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
7 #include "grit/generated_resources.h" 8 #include "grit/generated_resources.h"
8 #include "grit/ui_resources.h" 9 #include "grit/ui_resources.h"
9 #include "ui/base/l10n/l10n_util.h" 10 #include "ui/base/l10n/l10n_util.h"
10 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/views/controls/button/button.h" 12 #include "ui/views/controls/button/button.h"
12 #include "ui/views/controls/button/image_button.h" 13 #include "ui/views/controls/button/image_button.h"
13 #include "ui/views/layout/fill_layout.h" 14 #include "ui/views/layout/fill_layout.h"
14 #include "ui/views/layout/grid_layout.h" 15 #include "ui/views/layout/grid_layout.h"
15 #include "ui/views/layout/layout_constants.h" 16 #include "ui/views/layout/layout_constants.h"
16 17
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 202
202 void ManagePasswordItemView::NotifyClickedDelete() { 203 void ManagePasswordItemView::NotifyClickedDelete() {
203 delete_password_ = true; 204 delete_password_ = true;
204 Refresh(); 205 Refresh();
205 } 206 }
206 207
207 void ManagePasswordItemView::NotifyClickedUndo() { 208 void ManagePasswordItemView::NotifyClickedUndo() {
208 delete_password_ = false; 209 delete_password_ = false;
209 Refresh(); 210 Refresh();
210 } 211 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698