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

Side by Side Diff: chrome/browser/chromeos/attestation/platform_verification_dialog.h

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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 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_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_
6 #define CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ 6 #define CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_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 "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 30 matching lines...) Expand all
41 virtual bool Cancel() OVERRIDE; 41 virtual bool Cancel() OVERRIDE;
42 virtual bool Accept() OVERRIDE; 42 virtual bool Accept() OVERRIDE;
43 virtual bool Close() OVERRIDE; 43 virtual bool Close() OVERRIDE;
44 virtual base::string16 GetDialogButtonLabel( 44 virtual base::string16 GetDialogButtonLabel(
45 ui::DialogButton button) const OVERRIDE; 45 ui::DialogButton button) const OVERRIDE;
46 46
47 // Overridden from views::WidgetDelegate: 47 // Overridden from views::WidgetDelegate:
48 virtual ui::ModalType GetModalType() const OVERRIDE; 48 virtual ui::ModalType GetModalType() const OVERRIDE;
49 49
50 // Overridden from views::View: 50 // Overridden from views::View:
51 virtual gfx::Size GetPreferredSize() OVERRIDE; 51 virtual gfx::Size GetPreferredSize() const OVERRIDE;
52 52
53 // Overridden from views::StyledLabelListener: 53 // Overridden from views::StyledLabelListener:
54 virtual void StyledLabelLinkClicked(const gfx::Range& range, 54 virtual void StyledLabelLinkClicked(const gfx::Range& range,
55 int event_flags) OVERRIDE; 55 int event_flags) OVERRIDE;
56 56
57 content::WebContents* web_contents_; 57 content::WebContents* web_contents_;
58 base::string16 domain_; 58 base::string16 domain_;
59 PlatformVerificationFlow::Delegate::ConsentCallback callback_; 59 PlatformVerificationFlow::Delegate::ConsentCallback callback_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(PlatformVerificationDialog); 61 DISALLOW_COPY_AND_ASSIGN(PlatformVerificationDialog);
62 }; 62 };
63 63
64 } // namespace attestation 64 } // namespace attestation
65 } // namespace chromeos 65 } // namespace chromeos
66 66
67 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_ 67 #endif // CHROME_BROWSER_CHROMEOS_ATTESTATION_PLATFORM_VERIFICATION_DIALOG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698