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

Side by Side Diff: content/renderer/android/synchronous_compositor_filter.h

Issue 2349713003: IPC::MessageFilter::OnFilterAdded: IPC::Sender -> IPC::Channel (Closed)
Patch Set: . Created 4 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
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_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 19 matching lines...) Expand all
30 class SynchronousCompositorFilter 30 class SynchronousCompositorFilter
31 : public IPC::MessageFilter, 31 : public IPC::MessageFilter,
32 public IPC::Sender, 32 public IPC::Sender,
33 public SynchronousCompositorRegistry, 33 public SynchronousCompositorRegistry,
34 public SynchronousInputHandlerProxyClient { 34 public SynchronousInputHandlerProxyClient {
35 public: 35 public:
36 SynchronousCompositorFilter(const scoped_refptr<base::SingleThreadTaskRunner>& 36 SynchronousCompositorFilter(const scoped_refptr<base::SingleThreadTaskRunner>&
37 compositor_task_runner); 37 compositor_task_runner);
38 38
39 // IPC::MessageFilter overrides. 39 // IPC::MessageFilter overrides.
40 void OnFilterAdded(IPC::Sender* sender) override; 40 void OnFilterAdded(IPC::Channel* channel) override;
41 void OnFilterRemoved() override; 41 void OnFilterRemoved() override;
42 void OnChannelClosing() override; 42 void OnChannelClosing() override;
43 bool OnMessageReceived(const IPC::Message& message) override; 43 bool OnMessageReceived(const IPC::Message& message) override;
44 bool GetSupportedMessageClasses( 44 bool GetSupportedMessageClasses(
45 std::vector<uint32_t>* supported_message_classes) const override; 45 std::vector<uint32_t>* supported_message_classes) const override;
46 46
47 // IPC::Sender overrides. 47 // IPC::Sender overrides.
48 bool Send(IPC::Message* message) override; 48 bool Send(IPC::Message* message) override;
49 49
50 // SynchronousCompositorRegistry overrides. 50 // SynchronousCompositorRegistry overrides.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 // This is only used if input_handler_proxy has not been registered. 108 // This is only used if input_handler_proxy has not been registered.
109 CompositorFrameSinkMap compositor_frame_sink_map_; 109 CompositorFrameSinkMap compositor_frame_sink_map_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFilter); 111 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorFilter);
112 }; 112 };
113 113
114 } // namespace content 114 } // namespace content
115 115
116 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_ 116 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_FILTER_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | content/renderer/android/synchronous_compositor_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698