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

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: Tests!!! 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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 205
205 void ManagePasswordItemView::NotifyClickedDelete() { 206 void ManagePasswordItemView::NotifyClickedDelete() {
206 delete_password_ = true; 207 delete_password_ = true;
207 Refresh(); 208 Refresh();
208 } 209 }
209 210
210 void ManagePasswordItemView::NotifyClickedUndo() { 211 void ManagePasswordItemView::NotifyClickedUndo() {
211 delete_password_ = false; 212 delete_password_ = false;
212 Refresh(); 213 Refresh();
213 } 214 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698