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

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

Issue 12041078: Clear the clipboard closing Incognito window (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge and compilation fixes Created 7 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 (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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 BrowserMainLoop::GetMediaStreamManager(); 523 BrowserMainLoop::GetMediaStreamManager();
524 channel_->AddFilter(new AudioInputRendererHost(audio_manager, 524 channel_->AddFilter(new AudioInputRendererHost(audio_manager,
525 media_stream_manager)); 525 media_stream_manager));
526 channel_->AddFilter(new AudioRendererHost( 526 channel_->AddFilter(new AudioRendererHost(
527 GetID(), audio_manager, BrowserMainLoop::GetAudioMirroringManager(), 527 GetID(), audio_manager, BrowserMainLoop::GetAudioMirroringManager(),
528 media_internals)); 528 media_internals));
529 channel_->AddFilter(new VideoCaptureHost()); 529 channel_->AddFilter(new VideoCaptureHost());
530 channel_->AddFilter(new AppCacheDispatcherHost( 530 channel_->AddFilter(new AppCacheDispatcherHost(
531 storage_partition_impl_->GetAppCacheService(), 531 storage_partition_impl_->GetAppCacheService(),
532 GetID())); 532 GetID()));
533 channel_->AddFilter(new ClipboardMessageFilter()); 533 channel_->AddFilter(new ClipboardMessageFilter(browser_context));
534 channel_->AddFilter( 534 channel_->AddFilter(
535 new DOMStorageMessageFilter( 535 new DOMStorageMessageFilter(
536 GetID(), 536 GetID(),
537 storage_partition_impl_->GetDOMStorageContext())); 537 storage_partition_impl_->GetDOMStorageContext()));
538 channel_->AddFilter( 538 channel_->AddFilter(
539 new IndexedDBDispatcherHost( 539 new IndexedDBDispatcherHost(
540 GetID(), 540 GetID(),
541 storage_partition_impl_->GetIndexedDBContext())); 541 storage_partition_impl_->GetIndexedDBContext()));
542 channel_->AddFilter(GeolocationDispatcherHost::New( 542 channel_->AddFilter(GeolocationDispatcherHost::New(
543 GetID(), browser_context->GetGeolocationPermissionContext())); 543 GetID(), browser_context->GetGeolocationPermissionContext()));
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 TRACE_EVENT0("renderer_host", 1624 TRACE_EVENT0("renderer_host",
1625 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1625 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1626 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1626 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1627 ack_params.sync_point = 0; 1627 ack_params.sync_point = 0;
1628 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1628 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1629 gpu_process_host_id, 1629 gpu_process_host_id,
1630 ack_params); 1630 ack_params);
1631 } 1631 }
1632 1632
1633 } // namespace content 1633 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698