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

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

Issue 616133002: Make RenderFrame(Host) own a RenderWidget(Host). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-applying same patch Created 5 years, 11 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 16 matching lines...) Expand all
27 #include "net/base/network_change_notifier.h" 27 #include "net/base/network_change_notifier.h"
28 #include "third_party/WebKit/public/platform/WebConnectionType.h" 28 #include "third_party/WebKit/public/platform/WebConnectionType.h"
29 #include "ui/gfx/native_widget_types.h" 29 #include "ui/gfx/native_widget_types.h"
30 30
31 #if defined(OS_MACOSX) 31 #if defined(OS_MACOSX)
32 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 32 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
33 #endif 33 #endif
34 34
35 class GrContext; 35 class GrContext;
36 class SkBitmap; 36 class SkBitmap;
37 struct FrameMsg_NewFrame_WidgetParams;
37 struct ViewMsg_New_Params; 38 struct ViewMsg_New_Params;
38 struct WorkerProcessMsg_CreateWorker_Params; 39 struct WorkerProcessMsg_CreateWorker_Params;
39 40
40 namespace blink { 41 namespace blink {
41 class WebGamepads; 42 class WebGamepads;
42 class WebGraphicsContext3D; 43 class WebGraphicsContext3D;
43 class WebMediaStreamCenter; 44 class WebMediaStreamCenter;
44 class WebMediaStreamCenterClient; 45 class WebMediaStreamCenterClient;
45 } 46 }
46 47
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 CreateCommandBufferResult CreateViewCommandBuffer( 423 CreateCommandBufferResult CreateViewCommandBuffer(
423 int32 surface_id, 424 int32 surface_id,
424 const GPUCreateCommandBufferConfig& init_params, 425 const GPUCreateCommandBufferConfig& init_params,
425 int32 route_id) override; 426 int32 route_id) override;
426 427
427 void Init(); 428 void Init();
428 429
429 void OnCreateNewFrame(int routing_id, 430 void OnCreateNewFrame(int routing_id,
430 int parent_routing_id, 431 int parent_routing_id,
431 int proxy_routing_id, 432 int proxy_routing_id,
432 const FrameReplicationState& replicated_state); 433 const FrameReplicationState& replicated_state,
434 FrameMsg_NewFrame_WidgetParams params);
433 void OnCreateNewFrameProxy(int routing_id, 435 void OnCreateNewFrameProxy(int routing_id,
434 int parent_routing_id, 436 int parent_routing_id,
435 int render_view_routing_id, 437 int render_view_routing_id,
436 const FrameReplicationState& replicated_state); 438 const FrameReplicationState& replicated_state);
437 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 439 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
438 const std::string& host, 440 const std::string& host,
439 double zoom_level); 441 double zoom_level);
440 void OnCreateNewView(const ViewMsg_New_Params& params); 442 void OnCreateNewView(const ViewMsg_New_Params& params);
441 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 443 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
442 #if defined(ENABLE_PLUGINS) 444 #if defined(ENABLE_PLUGINS)
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 unsigned use_image_texture_target_; 598 unsigned use_image_texture_target_;
597 599
598 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_; 600 std::map<int, mojo::MessagePipeHandle> pending_render_frame_connects_;
599 601
600 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 602 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
601 }; 603 };
602 604
603 } // namespace content 605 } // namespace content
604 606
605 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 607 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698