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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1409693009: Fix leaking of RenderFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on ToT and a small change. Created 5 years 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_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 CreateCommandBufferResult CreateViewCommandBuffer( 461 CreateCommandBufferResult CreateViewCommandBuffer(
462 int32 surface_id, 462 int32 surface_id,
463 const GPUCreateCommandBufferConfig& init_params, 463 const GPUCreateCommandBufferConfig& init_params,
464 int32 route_id) override; 464 int32 route_id) override;
465 465
466 void Init(); 466 void Init();
467 467
468 void InitializeCompositorThread(); 468 void InitializeCompositorThread();
469 469
470 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); 470 void OnCreateNewFrame(FrameMsg_NewFrame_Params params);
471 void OnDetachFrame(int routing_id);
471 void OnCreateNewFrameProxy(int routing_id, 472 void OnCreateNewFrameProxy(int routing_id,
472 int render_view_routing_id, 473 int render_view_routing_id,
473 int opener_routing_id, 474 int opener_routing_id,
474 int parent_routing_id, 475 int parent_routing_id,
475 const FrameReplicationState& replicated_state); 476 const FrameReplicationState& replicated_state);
476 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 477 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
477 const std::string& host, 478 const std::string& host,
478 double zoom_level); 479 double zoom_level);
479 void OnCreateNewView(const ViewMsg_New_Params& params); 480 void OnCreateNewView(const ViewMsg_New_Params& params);
480 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 481 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 659 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
659 }; 660 };
660 661
661 #if defined(COMPILER_MSVC) 662 #if defined(COMPILER_MSVC)
662 #pragma warning(pop) 663 #pragma warning(pop)
663 #endif 664 #endif
664 665
665 } // namespace content 666 } // namespace content
666 667
667 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 668 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698