Home | History | Annotate | Download | only in controls
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
      6 #define UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
      7 
      8 #include "ui/views/views_export.h"
      9 
     10 namespace gfx {
     11 class Range;
     12 }
     13 
     14 namespace views {
     15 
     16 // A listener interface for StyledLabel.
     17 class VIEWS_EXPORT StyledLabelListener {
     18  public:
     19   virtual void StyledLabelLinkClicked(const gfx::Range& range,
     20                                       int event_flags) = 0;
     21 
     22  protected:
     23   virtual ~StyledLabelListener() {}
     24 };
     25 
     26 }  // namespace views
     27 
     28 #endif  // UI_VIEWS_CONTROLS_STYLED_LABEL_LISTENER_H_
     29