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

Side by Side Diff: chrome/browser/views/autofill_profiles_view_win.h

Issue 3806008: Never allow empty preview entries. As some data is always present (we drop co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ 5 #ifndef CHROME_BROWSER_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_
6 #define CHROME_BROWSER_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ 6 #define CHROME_BROWSER_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Called when 'Edit...' is clicked. 82 // Called when 'Edit...' is clicked.
83 void EditClicked(); 83 void EditClicked();
84 // Called when 'Remove' is clicked. 84 // Called when 'Remove' is clicked.
85 void DeleteClicked(); 85 void DeleteClicked();
86 // Called when 'Edit' dialog is accepted. 86 // Called when 'Edit' dialog is accepted.
87 void EditAccepted(EditableSetInfo* data, bool new_item); 87 void EditAccepted(EditableSetInfo* data, bool new_item);
88 88
89 // Updates state of the buttons. 89 // Updates state of the buttons.
90 void UpdateWidgetState(); 90 void UpdateWidgetState();
91 91
92 // Updates inferred labels.
93 void UpdateProfileLabels();
94
95 // Following two functions are called from opened child dialog to 92 // Following two functions are called from opened child dialog to
96 // disable/enable buttons. 93 // disable/enable buttons.
97 void ChildWindowOpened(); 94 void ChildWindowOpened();
98 void ChildWindowClosed(); 95 void ChildWindowClosed();
99 96
100 // Returns warning bitmap to set on warning indicator. If |good| is true it 97 // Returns warning bitmap to set on warning indicator. If |good| is true it
101 // returns the bitmap idicating validity, if false - indicating error. 98 // returns the bitmap idicating validity, if false - indicating error.
102 // Caller owns the bitmap after the call. 99 // Caller owns the bitmap after the call.
103 SkBitmap* GetWarningBitmap(bool good); 100 SkBitmap* GetWarningBitmap(bool good);
104 101
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 scoped_ptr<ContentListTableModel> table_model_; 431 scoped_ptr<ContentListTableModel> table_model_;
435 views::FocusManager* focus_manager_; 432 views::FocusManager* focus_manager_;
436 bool child_dialog_opened_; 433 bool child_dialog_opened_;
437 434
438 static AutoFillProfilesView* instance_; 435 static AutoFillProfilesView* instance_;
439 436
440 DISALLOW_COPY_AND_ASSIGN(AutoFillProfilesView); 437 DISALLOW_COPY_AND_ASSIGN(AutoFillProfilesView);
441 }; 438 };
442 439
443 #endif // CHROME_BROWSER_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ 440 #endif // CHROME_BROWSER_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/options/autofill_options_handler.cc ('k') | chrome/browser/views/autofill_profiles_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698