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

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

Issue 248113003: Fix for closing the desktop sharing notification bar when the shared window is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 (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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 audio_renderer_host_ = new AudioRendererHost( 665 audio_renderer_host_ = new AudioRendererHost(
666 GetID(), 666 GetID(),
667 audio_manager, 667 audio_manager,
668 BrowserMainLoop::GetInstance()->audio_mirroring_manager(), 668 BrowserMainLoop::GetInstance()->audio_mirroring_manager(),
669 media_internals, 669 media_internals,
670 media_stream_manager); 670 media_stream_manager);
671 AddFilter(audio_renderer_host_); 671 AddFilter(audio_renderer_host_);
672 AddFilter( 672 AddFilter(
673 new MidiHost(GetID(), BrowserMainLoop::GetInstance()->midi_manager())); 673 new MidiHost(GetID(), BrowserMainLoop::GetInstance()->midi_manager()));
674 AddFilter(new MidiDispatcherHost(GetID(), browser_context)); 674 AddFilter(new MidiDispatcherHost(GetID(), browser_context));
675 AddFilter(new VideoCaptureHost(media_stream_manager)); 675 AddFilter(new VideoCaptureHost(GetID(), media_stream_manager));
676 AddFilter(new AppCacheDispatcherHost( 676 AddFilter(new AppCacheDispatcherHost(
677 storage_partition_impl_->GetAppCacheService(), 677 storage_partition_impl_->GetAppCacheService(),
678 GetID())); 678 GetID()));
679 AddFilter(new ClipboardMessageFilter); 679 AddFilter(new ClipboardMessageFilter);
680 AddFilter(new DOMStorageMessageFilter( 680 AddFilter(new DOMStorageMessageFilter(
681 GetID(), 681 GetID(),
682 storage_partition_impl_->GetDOMStorageContext())); 682 storage_partition_impl_->GetDOMStorageContext()));
683 AddFilter(new IndexedDBDispatcherHost( 683 AddFilter(new IndexedDBDispatcherHost(
684 GetID(), 684 GetID(),
685 storage_partition_impl_->GetURLRequestContext(), 685 storage_partition_impl_->GetURLRequestContext(),
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2119 2119
2120 void RenderProcessHostImpl::SetWebUIHandle( 2120 void RenderProcessHostImpl::SetWebUIHandle(
2121 int32 view_routing_id, 2121 int32 view_routing_id,
2122 mojo::ScopedMessagePipeHandle handle) { 2122 mojo::ScopedMessagePipeHandle handle) {
2123 if (!render_process_host_mojo_) 2123 if (!render_process_host_mojo_)
2124 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this)); 2124 render_process_host_mojo_.reset(new RenderProcessHostMojoImpl(this));
2125 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass()); 2125 render_process_host_mojo_->SetWebUIHandle(view_routing_id, handle.Pass());
2126 } 2126 }
2127 2127
2128 } // namespace content 2128 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698