OLD | NEW |
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 CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 5 #ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
6 #define CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 6 #define CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 bool last_known_availability_; | 114 bool last_known_availability_; |
115 | 115 |
116 using AvailabilityCallbacksMap = | 116 using AvailabilityCallbacksMap = |
117 IDMap<blink::WebPresentationAvailabilityCallbacks, IDMapOwnPointer>; | 117 IDMap<blink::WebPresentationAvailabilityCallbacks, IDMapOwnPointer>; |
118 AvailabilityCallbacksMap availability_callbacks_; | 118 AvailabilityCallbacksMap availability_callbacks_; |
119 | 119 |
120 using AvailabilityObserversSet = | 120 using AvailabilityObserversSet = |
121 std::set<blink::WebPresentationAvailabilityObserver*>; | 121 std::set<blink::WebPresentationAvailabilityObserver*>; |
122 AvailabilityObserversSet availability_observers_; | 122 AvailabilityObserversSet availability_observers_; |
123 | 123 |
| 124 bool listening_for_messages_; |
| 125 |
124 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); | 126 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); |
125 }; | 127 }; |
126 | 128 |
127 } // namespace content | 129 } // namespace content |
128 | 130 |
129 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 131 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |
OLD | NEW |