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

Side by Side Diff: content/renderer/gpu/compositor_external_begin_frame_source.h

Issue 2633053002: Remove the MessageLoop::DestructionObserver from mojo bindings. (Closed)
Patch Set: rebase Created 3 years, 10 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_
7 7
8 #include <unordered_set> 8 #include <unordered_set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/threading/non_thread_safe.h"
13 #include "cc/scheduler/begin_frame_source.h" 14 #include "cc/scheduler/begin_frame_source.h"
14 #include "content/renderer/gpu/compositor_forwarding_message_filter.h" 15 #include "content/renderer/gpu/compositor_forwarding_message_filter.h"
15 16
16 namespace IPC { 17 namespace IPC {
17 class Message; 18 class Message;
18 class SyncMessageFilter; 19 class SyncMessageFilter;
19 } 20 }
20 21
21 namespace content { 22 namespace content {
22 23
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 scoped_refptr<IPC::SyncMessageFilter> message_sender_; 89 scoped_refptr<IPC::SyncMessageFilter> message_sender_;
89 int routing_id_; 90 int routing_id_;
90 CompositorForwardingMessageFilter::Handler begin_frame_source_filter_handler_; 91 CompositorForwardingMessageFilter::Handler begin_frame_source_filter_handler_;
91 92
92 DISALLOW_COPY_AND_ASSIGN(CompositorExternalBeginFrameSource); 93 DISALLOW_COPY_AND_ASSIGN(CompositorExternalBeginFrameSource);
93 }; 94 };
94 95
95 } // namespace content 96 } // namespace content
96 97
97 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_ 98 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_EXTERNAL_BEGIN_FRAME_SOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698