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

Side by Side Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.h

Issue 13602010: views: Convert more TextButtons to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUTOFILL_DIALOG_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 17 matching lines...) Expand all
28 class Image; 28 class Image;
29 } 29 }
30 30
31 namespace views { 31 namespace views {
32 class Checkbox; 32 class Checkbox;
33 class Combobox; 33 class Combobox;
34 class FocusManager; 34 class FocusManager;
35 class ImageButton; 35 class ImageButton;
36 class ImageView; 36 class ImageView;
37 class Label; 37 class Label;
38 class LabelButton;
38 class Link; 39 class Link;
39 class MenuRunner; 40 class MenuRunner;
40 class StyledLabel; 41 class StyledLabel;
41 class TextButton;
42 class Textfield; 42 class Textfield;
43 class WebView; 43 class WebView;
44 class Widget; 44 class Widget;
45 } 45 }
46 46
47 namespace ui { 47 namespace ui {
48 class ComboboxModel; 48 class ComboboxModel;
49 class KeyEvent; 49 class KeyEvent;
50 } 50 }
51 51
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 447
448 // Runs the suggestion menu (triggered by each section's |suggested_button|. 448 // Runs the suggestion menu (triggered by each section's |suggested_button|.
449 scoped_ptr<views::MenuRunner> menu_runner_; 449 scoped_ptr<views::MenuRunner> menu_runner_;
450 450
451 // The view that allows the user to toggle the data source. 451 // The view that allows the user to toggle the data source.
452 AccountChooser* account_chooser_; 452 AccountChooser* account_chooser_;
453 453
454 // View to host the signin dialog and related controls. 454 // View to host the signin dialog and related controls.
455 views::View* sign_in_container_; 455 views::View* sign_in_container_;
456 456
457 // TextButton displayed during sign-in. Clicking cancels sign-in and returns 457 // LabelButton displayed during sign-in. Clicking cancels sign-in and returns
458 // to the main flow. 458 // to the main flow.
459 views::TextButton* cancel_sign_in_; 459 views::LabelButton* cancel_sign_in_;
460 460
461 // A WebView to that navigates to a Google sign-in page to allow the user to 461 // A WebView to that navigates to a Google sign-in page to allow the user to
462 // sign-in. 462 // sign-in.
463 views::WebView* sign_in_webview_; 463 views::WebView* sign_in_webview_;
464 464
465 // View to host everything that isn't related to sign-in. 465 // View to host everything that isn't related to sign-in.
466 views::View* main_container_; 466 views::View* main_container_;
467 467
468 // View to host details sections. 468 // View to host details sections.
469 views::View* details_container_; 469 views::View* details_container_;
(...skipping 20 matching lines...) Expand all
490 490
491 // The focus manager for |window_|. 491 // The focus manager for |window_|.
492 views::FocusManager* focus_manager_; 492 views::FocusManager* focus_manager_;
493 493
494 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); 494 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews);
495 }; 495 };
496 496
497 } // namespace autofill 497 } // namespace autofill
498 498
499 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 499 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/autofill/autofill_dialog_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698