| 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 20 matching lines...) Expand all  Loading... | 
|   31   ~PresentationDispatcher() override; |   31   ~PresentationDispatcher() override; | 
|   32  |   32  | 
|   33  private: |   33  private: | 
|   34   // WebPresentationClient implementation. |   34   // WebPresentationClient implementation. | 
|   35   virtual void setController( |   35   virtual void setController( | 
|   36       blink::WebPresentationController* controller); |   36       blink::WebPresentationController* controller); | 
|   37   virtual void updateAvailableChangeWatched(bool watched); |   37   virtual void updateAvailableChangeWatched(bool watched); | 
|   38   virtual void startSession( |   38   virtual void startSession( | 
|   39       const blink::WebString& presentationUrl, |   39       const blink::WebString& presentationUrl, | 
|   40       blink::WebPresentationSessionClientCallbacks* callback); |   40       blink::WebPresentationSessionClientCallbacks* callback); | 
|   41   // TODO(mlamouri): remove this one when the one above is used by Blink. |  | 
|   42   virtual void startSession( |  | 
|   43       const blink::WebString& presentationUrl, |  | 
|   44       const blink::WebString& presentationId, |  | 
|   45       blink::WebPresentationSessionClientCallbacks* callback); |  | 
|   46   virtual void joinSession( |   41   virtual void joinSession( | 
|   47       const blink::WebString& presentationUrl, |   42       const blink::WebString& presentationUrl, | 
|   48       const blink::WebString& presentationId, |   43       const blink::WebString& presentationId, | 
|   49       blink::WebPresentationSessionClientCallbacks* callback); |   44       blink::WebPresentationSessionClientCallbacks* callback); | 
|   50   virtual void sendString( |   45   virtual void sendString( | 
|   51       const blink::WebString& presentationUrl, |   46       const blink::WebString& presentationUrl, | 
|   52       const blink::WebString& presentationId, |   47       const blink::WebString& presentationId, | 
|   53       const blink::WebString& message); |   48       const blink::WebString& message); | 
|   54   virtual void sendArrayBuffer( |   49   virtual void sendArrayBuffer( | 
|   55       const blink::WebString& presentationUrl, |   50       const blink::WebString& presentationUrl, | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  129   AvailabilityObserversSet availability_observers_; |  124   AvailabilityObserversSet availability_observers_; | 
|  130  |  125  | 
|  131   bool listening_for_messages_; |  126   bool listening_for_messages_; | 
|  132  |  127  | 
|  133   DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); |  128   DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); | 
|  134 }; |  129 }; | 
|  135  |  130  | 
|  136 }  // namespace content |  131 }  // namespace content | 
|  137  |  132  | 
|  138 #endif  // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ |  133 #endif  // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ | 
| OLD | NEW |