OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 class EmptyChromeClient; | 48 class EmptyChromeClient; |
49 class GraphicsContext; | 49 class GraphicsContext; |
50 class JSONValue; | 50 class JSONValue; |
51 class Node; | 51 class Node; |
52 class Page; | 52 class Page; |
53 class PlatformGestureEvent; | 53 class PlatformGestureEvent; |
54 class PlatformKeyboardEvent; | 54 class PlatformKeyboardEvent; |
55 class PlatformMouseEvent; | 55 class PlatformMouseEvent; |
56 class PlatformTouchEvent; | 56 class PlatformTouchEvent; |
57 | 57 |
58 class InspectorOverlayImpl final : public InspectorOverlay, public InspectorOver
layHost::Listener { | 58 class InspectorOverlayImpl final : public NoBaseWillBeGarbageCollectedFinalized<
InspectorOverlayImpl>, public InspectorOverlay, public InspectorOverlayHost::Lis
tener { |
59 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 59 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 60 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InspectorOverlayImpl); |
60 public: | 61 public: |
61 class Client { | 62 class Client { |
62 public: | 63 public: |
63 virtual ~Client() { } | 64 virtual ~Client() { } |
64 | 65 |
65 virtual void highlight() = 0; | 66 virtual void highlight() = 0; |
66 virtual void hideHighlight() = 0; | 67 virtual void hideHighlight() = 0; |
67 }; | 68 }; |
68 | 69 |
69 static PassOwnPtrWillBeRawPtr<InspectorOverlayImpl> create(Page* page, Clien
t* client) | 70 static PassOwnPtrWillBeRawPtr<InspectorOverlayImpl> create(Page* page, Clien
t* client) |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 Timer<InspectorOverlayImpl> m_timer; | 135 Timer<InspectorOverlayImpl> m_timer; |
135 int m_suspendCount; | 136 int m_suspendCount; |
136 bool m_updating; | 137 bool m_updating; |
137 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; | 138 RawPtrWillBeMember<InspectorOverlay::Listener> m_listener; |
138 }; | 139 }; |
139 | 140 |
140 } // namespace blink | 141 } // namespace blink |
141 | 142 |
142 | 143 |
143 #endif // InspectorOverlayImpl_h | 144 #endif // InspectorOverlayImpl_h |
OLD | NEW |