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

Side by Side Diff: ui/views/selection_controller_delegate.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 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
« no previous file with comments | « ui/views/round_rect_painter.h ('k') | ui/views/style/platform_style.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SELECTION_CONTROLLER_DELEGATE_H_ 5 #ifndef UI_VIEWS_SELECTION_CONTROLLER_DELEGATE_H_
6 #define UI_VIEWS_SELECTION_CONTROLLER_DELEGATE_H_ 6 #define UI_VIEWS_SELECTION_CONTROLLER_DELEGATE_H_
7 7
8 #include "ui/views/views_export.h" 8 #include "ui/views/views_export.h"
9 9
10 namespace ui {
11 class MouseEvent;
12 }
13
14 namespace views { 10 namespace views {
15 11
16 // An interface implemented/managed by a view which uses the 12 // An interface implemented/managed by a view which uses the
17 // SelectionController. 13 // SelectionController.
18 class VIEWS_EXPORT SelectionControllerDelegate { 14 class VIEWS_EXPORT SelectionControllerDelegate {
19 public: 15 public:
20 // Returns the associated RenderText instance to be used for selection. 16 // Returns the associated RenderText instance to be used for selection.
21 virtual gfx::RenderText* GetRenderTextForSelectionController() = 0; 17 virtual gfx::RenderText* GetRenderTextForSelectionController() = 0;
22 18
23 // Methods related to properties of the associated view. 19 // Methods related to properties of the associated view.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // the render text instance, it may be called outside of a pointer action. 57 // the render text instance, it may be called outside of a pointer action.
62 virtual void UpdateSelectionClipboard() = 0; 58 virtual void UpdateSelectionClipboard() = 0;
63 59
64 protected: 60 protected:
65 virtual ~SelectionControllerDelegate() {} 61 virtual ~SelectionControllerDelegate() {}
66 }; 62 };
67 63
68 } // namespace views 64 } // namespace views
69 65
70 #endif // UI_VIEWS_SELECTION_CONTROLLER_DELEGATE_H_ 66 #endif // UI_VIEWS_SELECTION_CONTROLLER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/round_rect_painter.h ('k') | ui/views/style/platform_style.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698