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_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_UI_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 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 virtual bool Cancel(); | 280 virtual bool Cancel(); |
281 virtual bool Accept(); | 281 virtual bool Accept(); |
282 | 282 |
283 // views::ButtonListener methods: | 283 // views::ButtonListener methods: |
284 virtual void ButtonPressed(views::Button* sender, | 284 virtual void ButtonPressed(views::Button* sender, |
285 const views::Event& event); | 285 const views::Event& event); |
286 | 286 |
287 // views::Textfield::Controller methods: | 287 // views::Textfield::Controller methods: |
288 virtual void ContentsChanged(views::Textfield* sender, | 288 virtual void ContentsChanged(views::Textfield* sender, |
289 const string16& new_contents); | 289 const string16& new_contents); |
290 virtual bool HandleKeystroke(views::Textfield* sender, | 290 virtual bool HandleKeyEvent(views::Textfield* sender, |
291 const views::Textfield::Keystroke& keystroke); | 291 const views::KeyEvent& keystroke); |
292 | 292 |
293 // views::Combobox::Listener methods: | 293 // views::Combobox::Listener methods: |
294 virtual void ItemChanged(views::Combobox* combo_box, | 294 virtual void ItemChanged(views::Combobox* combo_box, |
295 int prev_index, | 295 int prev_index, |
296 int new_index); | 296 int new_index); |
297 private: | 297 private: |
298 enum TextFields { | 298 enum TextFields { |
299 TEXT_FULL_NAME, | 299 TEXT_FULL_NAME, |
300 TEXT_COMPANY, | 300 TEXT_COMPANY, |
301 TEXT_EMAIL, | 301 TEXT_EMAIL, |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 scoped_ptr<ContentListTableModel> table_model_; | 432 scoped_ptr<ContentListTableModel> table_model_; |
433 views::FocusManager* focus_manager_; | 433 views::FocusManager* focus_manager_; |
434 bool child_dialog_opened_; | 434 bool child_dialog_opened_; |
435 | 435 |
436 static AutoFillProfilesView* instance_; | 436 static AutoFillProfilesView* instance_; |
437 | 437 |
438 DISALLOW_COPY_AND_ASSIGN(AutoFillProfilesView); | 438 DISALLOW_COPY_AND_ASSIGN(AutoFillProfilesView); |
439 }; | 439 }; |
440 | 440 |
441 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ | 441 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ |
OLD | NEW |