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

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

Issue 6034002: Replace Textfield::Keystroke with views::KeyEvent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 12 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 (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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 virtual bool Cancel(); 279 virtual bool Cancel();
280 virtual bool Accept(); 280 virtual bool Accept();
281 281
282 // views::ButtonListener methods: 282 // views::ButtonListener methods:
283 virtual void ButtonPressed(views::Button* sender, 283 virtual void ButtonPressed(views::Button* sender,
284 const views::Event& event); 284 const views::Event& event);
285 285
286 // views::Textfield::Controller methods: 286 // views::Textfield::Controller methods:
287 virtual void ContentsChanged(views::Textfield* sender, 287 virtual void ContentsChanged(views::Textfield* sender,
288 const string16& new_contents); 288 const string16& new_contents);
289 virtual bool HandleKeystroke(views::Textfield* sender, 289 virtual bool HandleKeyEvent(views::Textfield* sender,
290 const views::Textfield::Keystroke& keystroke); 290 const views::KeyEvent& keystroke);
291 291
292 // views::Combobox::Listener methods: 292 // views::Combobox::Listener methods:
293 virtual void ItemChanged(views::Combobox* combo_box, 293 virtual void ItemChanged(views::Combobox* combo_box,
294 int prev_index, 294 int prev_index,
295 int new_index); 295 int new_index);
296 private: 296 private:
297 enum TextFields { 297 enum TextFields {
298 TEXT_FULL_NAME, 298 TEXT_FULL_NAME,
299 TEXT_COMPANY, 299 TEXT_COMPANY,
300 TEXT_EMAIL, 300 TEXT_EMAIL,
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 scoped_ptr<ContentListTableModel> table_model_; 431 scoped_ptr<ContentListTableModel> table_model_;
432 views::FocusManager* focus_manager_; 432 views::FocusManager* focus_manager_;
433 bool child_dialog_opened_; 433 bool child_dialog_opened_;
434 434
435 static AutoFillProfilesView* instance_; 435 static AutoFillProfilesView* instance_;
436 436
437 DISALLOW_COPY_AND_ASSIGN(AutoFillProfilesView); 437 DISALLOW_COPY_AND_ASSIGN(AutoFillProfilesView);
438 }; 438 };
439 439
440 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_ 440 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_PROFILES_VIEW_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698