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

Side by Side Diff: content/renderer/presentation/presentation_dispatcher.h

Issue 1140713005: [PresentationAPI] Implements send API for Blob data from WebPresentationClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reverted "using presentation::PresentationMessageType" Created 5 years, 6 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
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 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/memory/linked_ptr.h" 9 #include "base/memory/linked_ptr.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 blink::WebPresentationSessionClientCallbacks* callback); 43 blink::WebPresentationSessionClientCallbacks* callback);
44 virtual void sendString( 44 virtual void sendString(
45 const blink::WebString& presentationUrl, 45 const blink::WebString& presentationUrl,
46 const blink::WebString& presentationId, 46 const blink::WebString& presentationId,
47 const blink::WebString& message); 47 const blink::WebString& message);
48 virtual void sendArrayBuffer( 48 virtual void sendArrayBuffer(
49 const blink::WebString& presentationUrl, 49 const blink::WebString& presentationUrl,
50 const blink::WebString& presentationId, 50 const blink::WebString& presentationId,
51 const uint8* data, 51 const uint8* data,
52 size_t length); 52 size_t length);
53 virtual void sendBlobData(
54 const blink::WebString& presentationUrl,
55 const blink::WebString& presentationId,
56 const uint8* data,
57 size_t length);
53 virtual void closeSession( 58 virtual void closeSession(
54 const blink::WebString& presentationUrl, 59 const blink::WebString& presentationUrl,
55 const blink::WebString& presentationId); 60 const blink::WebString& presentationId);
56 61
57 // RenderFrameObserver implementation. 62 // RenderFrameObserver implementation.
58 void DidChangeDefaultPresentation() override; 63 void DidChangeDefaultPresentation() override;
59 void DidCommitProvisionalLoad( 64 void DidCommitProvisionalLoad(
60 bool is_new_navigation, 65 bool is_new_navigation,
61 bool is_same_page_navigation) override; 66 bool is_same_page_navigation) override;
62 67
(...skipping 26 matching lines...) Expand all
89 using MessageRequestQueue = 94 using MessageRequestQueue =
90 std::queue<linked_ptr<presentation::SessionMessage>>; 95 std::queue<linked_ptr<presentation::SessionMessage>>;
91 MessageRequestQueue message_request_queue_; 96 MessageRequestQueue message_request_queue_;
92 97
93 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher); 98 DISALLOW_COPY_AND_ASSIGN(PresentationDispatcher);
94 }; 99 };
95 100
96 } // namespace content 101 } // namespace content
97 102
98 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_ 103 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/public/browser/presentation_session_message.cc ('k') | content/renderer/presentation/presentation_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698