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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2448853002: Rename SynchronousCompositorObserver to BrowserFilter (Closed)
Patch Set: Created 4 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 22 matching lines...) Expand all
33 #include "ipc/ipc_platform_file.h" 33 #include "ipc/ipc_platform_file.h"
34 #include "mojo/public/cpp/bindings/associated_binding.h" 34 #include "mojo/public/cpp/bindings/associated_binding.h"
35 #include "mojo/public/cpp/bindings/associated_binding_set.h" 35 #include "mojo/public/cpp/bindings/associated_binding_set.h"
36 #include "mojo/public/cpp/bindings/interface_ptr.h" 36 #include "mojo/public/cpp/bindings/interface_ptr.h"
37 #include "services/service_manager/public/cpp/interface_registry.h" 37 #include "services/service_manager/public/cpp/interface_registry.h"
38 #include "services/service_manager/public/interfaces/service.mojom.h" 38 #include "services/service_manager/public/interfaces/service.mojom.h"
39 #include "ui/gfx/gpu_memory_buffer.h" 39 #include "ui/gfx/gpu_memory_buffer.h"
40 #include "ui/gl/gpu_switching_observer.h" 40 #include "ui/gl/gpu_switching_observer.h"
41 41
42 #if defined(OS_ANDROID) 42 #if defined(OS_ANDROID)
43 #include "content/browser/android/synchronous_compositor_observer.h" 43 #include "content/browser/android/synchronous_compositor_browser_filter.h"
44 #endif 44 #endif
45 45
46 namespace base { 46 namespace base {
47 class CommandLine; 47 class CommandLine;
48 class MessageLoop; 48 class MessageLoop;
49 class SharedPersistentMemoryAllocator; 49 class SharedPersistentMemoryAllocator;
50 } 50 }
51 51
52 namespace gfx { 52 namespace gfx {
53 class Size; 53 class Size;
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 260
261 MessagePortMessageFilter* message_port_message_filter() const { 261 MessagePortMessageFilter* message_port_message_filter() const {
262 return message_port_message_filter_.get(); 262 return message_port_message_filter_.get();
263 } 263 }
264 264
265 NotificationMessageFilter* notification_message_filter() const { 265 NotificationMessageFilter* notification_message_filter() const {
266 return notification_message_filter_.get(); 266 return notification_message_filter_.get();
267 } 267 }
268 268
269 #if defined(OS_ANDROID) 269 #if defined(OS_ANDROID)
270 SynchronousCompositorObserver* synchronous_compositor_filter() const { 270 SynchronousCompositorBrowserFilter* synchronous_compositor_filter() const {
271 return synchronous_compositor_filter_.get(); 271 return synchronous_compositor_filter_.get();
272 } 272 }
273 #endif 273 #endif
274 274
275 void set_is_for_guests_only_for_testing(bool is_for_guests_only) { 275 void set_is_for_guests_only_for_testing(bool is_for_guests_only) {
276 is_for_guests_only_ = is_for_guests_only; 276 is_for_guests_only_ = is_for_guests_only;
277 } 277 }
278 278
279 void GetAudioOutputControllers( 279 void GetAudioOutputControllers(
280 const GetAudioOutputControllersCallback& callback) const override; 280 const GetAudioOutputControllersCallback& callback) const override;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_; 465 scoped_refptr<RenderFrameMessageFilter> render_frame_message_filter_;
466 466
467 // The filter for MessagePort messages coming from the renderer. 467 // The filter for MessagePort messages coming from the renderer.
468 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_; 468 scoped_refptr<MessagePortMessageFilter> message_port_message_filter_;
469 469
470 // The filter for Web Notification messages coming from the renderer. Holds a 470 // The filter for Web Notification messages coming from the renderer. Holds a
471 // closure per notification that must be freed when the notification closes. 471 // closure per notification that must be freed when the notification closes.
472 scoped_refptr<NotificationMessageFilter> notification_message_filter_; 472 scoped_refptr<NotificationMessageFilter> notification_message_filter_;
473 473
474 #if defined(OS_ANDROID) 474 #if defined(OS_ANDROID)
475 scoped_refptr<SynchronousCompositorObserver> synchronous_compositor_filter_; 475 scoped_refptr<SynchronousCompositorBrowserFilter>
476 synchronous_compositor_filter_;
476 #endif 477 #endif
477 478
478 // Used in single-process mode. 479 // Used in single-process mode.
479 std::unique_ptr<base::Thread> in_process_renderer_; 480 std::unique_ptr<base::Thread> in_process_renderer_;
480 481
481 // True after Init() has been called. 482 // True after Init() has been called.
482 bool is_initialized_ = false; 483 bool is_initialized_ = false;
483 484
484 // True after ProcessDied(), until the next call to Init(). 485 // True after ProcessDied(), until the next call to Init().
485 bool is_dead_ = false; 486 bool is_dead_ = false;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 instance_weak_factory_; 607 instance_weak_factory_;
607 608
608 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 609 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
609 610
610 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 611 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
611 }; 612 };
612 613
613 } // namespace content 614 } // namespace content
614 615
615 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 616 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/android/synchronous_compositor_observer.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698