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

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

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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_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 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 55 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
56 virtual bool Cancel() OVERRIDE; 56 virtual bool Cancel() OVERRIDE;
57 virtual bool Accept() OVERRIDE; 57 virtual bool Accept() OVERRIDE;
58 58
59 // views::WidgetDelegate overrides. 59 // views::WidgetDelegate overrides.
60 virtual ui::ModalType GetModalType() const OVERRIDE; 60 virtual ui::ModalType GetModalType() const OVERRIDE;
61 virtual bool ShouldShowWindowTitle() const OVERRIDE; 61 virtual bool ShouldShowWindowTitle() const OVERRIDE;
62 virtual bool ShouldShowWindowIcon() const OVERRIDE; 62 virtual bool ShouldShowWindowIcon() const OVERRIDE;
63 63
64 // views::LinkListener override. 64 // views::LinkListener override.
65 virtual void StyledLabelLinkClicked(const ui::Range& range, 65 virtual void StyledLabelLinkClicked(const gfx::Range& range,
66 int event_flags) OVERRIDE; 66 int event_flags) OVERRIDE;
67 67
68 // views::View override. 68 // views::View override.
69 virtual gfx::Size GetPreferredSize() OVERRIDE; 69 virtual gfx::Size GetPreferredSize() OVERRIDE;
70 70
71 // Sets the border and bounds for the styled label containing the dialog 71 // Sets the border and bounds for the styled label containing the dialog
72 // text. 72 // text.
73 void SetLabelBorderAndBounds(); 73 void SetLabelBorderAndBounds();
74 74
75 views::StyledLabel* label_; 75 views::StyledLabel* label_;
76 EchoDialogListener* listener_; 76 EchoDialogListener* listener_;
77 int ok_button_label_id_; 77 int ok_button_label_id_;
78 int cancel_button_label_id_; 78 int cancel_button_label_id_;
79 79
80 DISALLOW_COPY_AND_ASSIGN(EchoDialogView); 80 DISALLOW_COPY_AND_ASSIGN(EchoDialogView);
81 }; 81 };
82 82
83 } // namespace chromeos 83 } // namespace chromeos
84 84
85 #endif // CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_ 85 #endif // CHROME_BROWSER_CHROMEOS_UI_ECHO_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/textinput_test_helper.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