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

Side by Side Diff: chrome/browser/chromeos/ui/echo_dialog_view.h

Issue 1407093007: Autofill: Add legal message footer to save credit card bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 1 month 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/views/controls/styled_label_listener.h" 10 #include "ui/views/controls/styled_label_listener.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; 55 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
56 bool Cancel() override; 56 bool Cancel() override;
57 bool Accept() override; 57 bool Accept() override;
58 58
59 // views::WidgetDelegate overrides. 59 // views::WidgetDelegate overrides.
60 ui::ModalType GetModalType() const override; 60 ui::ModalType GetModalType() const override;
61 bool ShouldShowWindowTitle() const override; 61 bool ShouldShowWindowTitle() const override;
62 bool ShouldShowWindowIcon() const override; 62 bool ShouldShowWindowIcon() const override;
63 63
64 // views::LinkListener override. 64 // views::LinkListener override.
65 void StyledLabelLinkClicked(const gfx::Range& range, 65 void StyledLabelLinkClicked(views::StyledLabel* label,
66 const gfx::Range& range,
66 int event_flags) override; 67 int event_flags) override;
67 68
68 // views::View override. 69 // views::View override.
69 gfx::Size GetPreferredSize() const override; 70 gfx::Size GetPreferredSize() const override;
70 71
71 // Sets the border and bounds for the styled label containing the dialog 72 // Sets the border and bounds for the styled label containing the dialog
72 // text. 73 // text.
73 void SetLabelBorderAndBounds(); 74 void SetLabelBorderAndBounds();
74 75
75 views::StyledLabel* label_; 76 views::StyledLabel* label_;
76 EchoDialogListener* listener_; 77 EchoDialogListener* listener_;
77 int ok_button_label_id_; 78 int ok_button_label_id_;
78 int cancel_button_label_id_; 79 int cancel_button_label_id_;
79 80
80 DISALLOW_COPY_AND_ASSIGN(EchoDialogView); 81 DISALLOW_COPY_AND_ASSIGN(EchoDialogView);
81 }; 82 };
82 83
83 } // namespace chromeos 84 } // namespace chromeos
84 85
85 #endif // CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_ 86 #endif // CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/attestation/platform_verification_dialog.cc ('k') | chrome/browser/chromeos/ui/echo_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698