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

Side by Side Diff: ui/views/controls/styled_label_listener.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
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | ui/views/controls/styled_label_unittest.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 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 UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_ 5 #ifndef UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
6 #define UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_ 6 #define UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace ui { 10 namespace gfx {
11 class Range; 11 class Range;
12 } 12 }
13 13
14 namespace views { 14 namespace views {
15 15
16 // A listener interface for StyledLabel. 16 // A listener interface for StyledLabel.
17 class VIEWS_EXPORT StyledLabelListener { 17 class VIEWS_EXPORT StyledLabelListener {
18 public: 18 public:
19 virtual void StyledLabelLinkClicked(const ui::Range& range, 19 virtual void StyledLabelLinkClicked(const gfx::Range& range,
20 int event_flags) = 0; 20 int event_flags) = 0;
21 21
22 protected: 22 protected:
23 virtual ~StyledLabelListener() {} 23 virtual ~StyledLabelListener() {}
24 }; 24 };
25 25
26 } // namespace views 26 } // namespace views
27 27
28 #endif // UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_ 28 #endif // UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
OLDNEW
« no previous file with comments | « ui/views/controls/styled_label.cc ('k') | ui/views/controls/styled_label_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698