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

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

Issue 14895004: Fixing autocheckout progress bar repaint bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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) 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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 TextfieldMap textfields; 383 TextfieldMap textfields;
384 // The comboboxes in |manual_input|, tracked by their DetailInput. 384 // The comboboxes in |manual_input|, tracked by their DetailInput.
385 ComboboxMap comboboxes; 385 ComboboxMap comboboxes;
386 // The view that holds the text of the suggested data. This will be 386 // The view that holds the text of the suggested data. This will be
387 // visible IFF |manual_input| is not visible. 387 // visible IFF |manual_input| is not visible.
388 SuggestionView* suggested_info; 388 SuggestionView* suggested_info;
389 // The view that allows selecting other data suggestions. 389 // The view that allows selecting other data suggestions.
390 views::ImageButton* suggested_button; 390 views::ImageButton* suggested_button;
391 }; 391 };
392 392
393 class ButtonStripView : public views::View {
394 public:
395 ButtonStripView();
396 virtual ~ButtonStripView();
397
398 protected:
399 virtual void ChildVisibilityChanged(views::View* child) OVERRIDE;
400
401 private:
402 DISALLOW_COPY_AND_ASSIGN(ButtonStripView);
403 };
404
393 class AutocheckoutProgressBar : public views::ProgressBar { 405 class AutocheckoutProgressBar : public views::ProgressBar {
394 public: 406 public:
395 AutocheckoutProgressBar(); 407 AutocheckoutProgressBar();
408 virtual ~AutocheckoutProgressBar();
396 409
397 private: 410 private:
398 // Overidden from View: 411 // Overidden from View:
399 virtual gfx::Size GetPreferredSize() OVERRIDE; 412 virtual gfx::Size GetPreferredSize() OVERRIDE;
400 413
401 DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar); 414 DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar);
402 }; 415 };
403 416
404 typedef std::map<DialogSection, DetailsGroup> DetailGroupMap; 417 typedef std::map<DialogSection, DetailsGroup> DetailGroupMap;
405 418
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 views::FocusManager* focus_manager_; 555 views::FocusManager* focus_manager_;
543 556
544 ScopedObserver<views::Widget, AutofillDialogViews> observer_; 557 ScopedObserver<views::Widget, AutofillDialogViews> observer_;
545 558
546 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews); 559 DISALLOW_COPY_AND_ASSIGN(AutofillDialogViews);
547 }; 560 };
548 561
549 } // namespace autofill 562 } // namespace autofill
550 563
551 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_ 564 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_AUTOFILL_DIALOG_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698