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

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

Issue 600553003: Enable swapping a frame back in to its parent process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remoteToLocal
Patch Set: Created 6 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 base::MessageLoop* GetMainLoop() override; 407 base::MessageLoop* GetMainLoop() override;
408 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override; 408 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override;
409 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; 409 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override;
410 CreateCommandBufferResult CreateViewCommandBuffer( 410 CreateCommandBufferResult CreateViewCommandBuffer(
411 int32 surface_id, 411 int32 surface_id,
412 const GPUCreateCommandBufferConfig& init_params, 412 const GPUCreateCommandBufferConfig& init_params,
413 int32 route_id) override; 413 int32 route_id) override;
414 414
415 void Init(); 415 void Init();
416 416
417 void OnCreateNewFrame(int routing_id, int parent_routing_id); 417 void OnCreateNewFrame(int routing_id,
418 int parent_routing_id,
419 int proxy_routing_id);
418 void OnCreateNewFrameProxy(int routing_id, 420 void OnCreateNewFrameProxy(int routing_id,
419 int parent_routing_id, 421 int parent_routing_id,
420 int render_view_routing_id); 422 int render_view_routing_id);
421 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 423 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
422 const std::string& host, 424 const std::string& host,
423 double zoom_level); 425 double zoom_level);
424 void OnCreateNewView(const ViewMsg_New_Params& params); 426 void OnCreateNewView(const ViewMsg_New_Params& params);
425 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 427 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
426 #if defined(ENABLE_PLUGINS) 428 #if defined(ENABLE_PLUGINS)
427 void OnPurgePluginListCache(bool reload_pages); 429 void OnPurgePluginListCache(bool reload_pages);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 bool is_one_copy_enabled_; 569 bool is_one_copy_enabled_;
568 570
569 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 571 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
570 572
571 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 573 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
572 }; 574 };
573 575
574 } // namespace content 576 } // namespace content
575 577
576 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 578 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698