| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |