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

Side by Side Diff: Source/core/page/PointerLockController.h

Issue 584303002: Clean up forward declarations in Source/core/page (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/page/PageSerializer.h ('k') | Source/core/page/SpatialNavigation.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 17 matching lines...) Expand all
28 #include "platform/heap/Handle.h" 28 #include "platform/heap/Handle.h"
29 #include "wtf/RefPtr.h" 29 #include "wtf/RefPtr.h"
30 #include "wtf/text/AtomicString.h" 30 #include "wtf/text/AtomicString.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class Element; 34 class Element;
35 class Document; 35 class Document;
36 class Page; 36 class Page;
37 class PlatformMouseEvent; 37 class PlatformMouseEvent;
38 class VoidCallback;
39 38
40 class PointerLockController FINAL : public NoBaseWillBeGarbageCollected<PointerL ockController> { 39 class PointerLockController FINAL : public NoBaseWillBeGarbageCollected<PointerL ockController> {
41 WTF_MAKE_NONCOPYABLE(PointerLockController); 40 WTF_MAKE_NONCOPYABLE(PointerLockController);
42 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 41 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
43 public: 42 public:
44 static PassOwnPtrWillBeRawPtr<PointerLockController> create(Page*); 43 static PassOwnPtrWillBeRawPtr<PointerLockController> create(Page*);
45 44
46 void requestPointerLock(Element* target); 45 void requestPointerLock(Element* target);
47 void requestPointerUnlock(); 46 void requestPointerUnlock();
48 void elementRemoved(Element*); 47 void elementRemoved(Element*);
(...skipping 16 matching lines...) Expand all
65 64
66 RawPtrWillBeMember<Page> m_page; 65 RawPtrWillBeMember<Page> m_page;
67 bool m_lockPending; 66 bool m_lockPending;
68 RefPtrWillBeMember<Element> m_element; 67 RefPtrWillBeMember<Element> m_element;
69 RefPtrWillBeMember<Document> m_documentOfRemovedElementWhileWaitingForUnlock ; 68 RefPtrWillBeMember<Document> m_documentOfRemovedElementWhileWaitingForUnlock ;
70 }; 69 };
71 70
72 } // namespace blink 71 } // namespace blink
73 72
74 #endif // PointerLockController_h 73 #endif // PointerLockController_h
OLDNEW
« no previous file with comments | « Source/core/page/PageSerializer.h ('k') | Source/core/page/SpatialNavigation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698