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

Side by Side Diff: components/exo/pointer_delegate.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 | « components/exo/pointer.h ('k') | components/favicon/content/content_favicon_driver.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_EXO_POINTER_DELEGATE_H_ 5 #ifndef COMPONENTS_EXO_POINTER_DELEGATE_H_
6 #define COMPONENTS_EXO_POINTER_DELEGATE_H_ 6 #define COMPONENTS_EXO_POINTER_DELEGATE_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "ui/events/event_constants.h" 9 #include "ui/events/event_constants.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 class Point;
13 class PointF; 12 class PointF;
14 class Vector2dF; 13 class Vector2dF;
15 } 14 }
16 15
17 namespace exo { 16 namespace exo {
18 class Pointer; 17 class Pointer;
19 class Surface; 18 class Surface;
20 19
21 // Handles events on pointers in context-specific ways. 20 // Handles events on pointers in context-specific ways.
22 class PointerDelegate { 21 class PointerDelegate {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // this method is called. 68 // this method is called.
70 virtual void OnPointerFrame() = 0; 69 virtual void OnPointerFrame() = 0;
71 70
72 protected: 71 protected:
73 virtual ~PointerDelegate() {} 72 virtual ~PointerDelegate() {}
74 }; 73 };
75 74
76 } // namespace exo 75 } // namespace exo
77 76
78 #endif // COMPONENTS_EXO_POINTER_DELEGATE_H_ 77 #endif // COMPONENTS_EXO_POINTER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/exo/pointer.h ('k') | components/favicon/content/content_favicon_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698