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

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

Issue 1118083004: Revert of OOPIF: Specify previous sibling frames when creating new RenderFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 #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 17 matching lines...) Expand all
28 #include "net/base/network_change_notifier.h" 28 #include "net/base/network_change_notifier.h"
29 #include "third_party/WebKit/public/platform/WebConnectionType.h" 29 #include "third_party/WebKit/public/platform/WebConnectionType.h"
30 #include "ui/gfx/native_widget_types.h" 30 #include "ui/gfx/native_widget_types.h"
31 31
32 #if defined(OS_MACOSX) 32 #if defined(OS_MACOSX)
33 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 33 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
34 #endif 34 #endif
35 35
36 class GrContext; 36 class GrContext;
37 class SkBitmap; 37 class SkBitmap;
38 struct FrameMsg_NewFrame_Params; 38 struct FrameMsg_NewFrame_WidgetParams;
39 struct ViewMsg_New_Params; 39 struct ViewMsg_New_Params;
40 struct WorkerProcessMsg_CreateWorker_Params; 40 struct WorkerProcessMsg_CreateWorker_Params;
41 41
42 namespace blink { 42 namespace blink {
43 class WebGamepads; 43 class WebGamepads;
44 class WebGraphicsContext3D; 44 class WebGraphicsContext3D;
45 class WebMediaStreamCenter; 45 class WebMediaStreamCenter;
46 class WebMediaStreamCenterClient; 46 class WebMediaStreamCenterClient;
47 } 47 }
48 48
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 base::MessageLoop* GetMainLoop() override; 431 base::MessageLoop* GetMainLoop() override;
432 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override; 432 scoped_refptr<base::MessageLoopProxy> GetIOLoopProxy() override;
433 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override; 433 scoped_ptr<base::SharedMemory> AllocateSharedMemory(size_t size) override;
434 CreateCommandBufferResult CreateViewCommandBuffer( 434 CreateCommandBufferResult CreateViewCommandBuffer(
435 int32 surface_id, 435 int32 surface_id,
436 const GPUCreateCommandBufferConfig& init_params, 436 const GPUCreateCommandBufferConfig& init_params,
437 int32 route_id) override; 437 int32 route_id) override;
438 438
439 void Init(); 439 void Init();
440 440
441 void OnCreateNewFrame(FrameMsg_NewFrame_Params params); 441 void OnCreateNewFrame(int routing_id,
442 int parent_routing_id,
443 int proxy_routing_id,
444 const FrameReplicationState& replicated_state,
445 FrameMsg_NewFrame_WidgetParams params);
442 void OnCreateNewFrameProxy(int routing_id, 446 void OnCreateNewFrameProxy(int routing_id,
443 int parent_routing_id, 447 int parent_routing_id,
444 int render_view_routing_id, 448 int render_view_routing_id,
445 const FrameReplicationState& replicated_state); 449 const FrameReplicationState& replicated_state);
446 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 450 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
447 const std::string& host, 451 const std::string& host,
448 double zoom_level); 452 double zoom_level);
449 void OnCreateNewView(const ViewMsg_New_Params& params); 453 void OnCreateNewView(const ViewMsg_New_Params& params);
450 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 454 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
451 #if defined(ENABLE_PLUGINS) 455 #if defined(ENABLE_PLUGINS)
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 654 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
651 }; 655 };
652 656
653 #if defined(COMPILER_MSVC) 657 #if defined(COMPILER_MSVC)
654 #pragma warning(pop) 658 #pragma warning(pop)
655 #endif 659 #endif
656 660
657 } // namespace content 661 } // namespace content
658 662
659 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 663 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl_browsertest.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698