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

Side by Side Diff: content/renderer/child_frame_compositing_helper.cc

Issue 169653004: <webview>: Speculative fix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed compile issue. Created 6 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
« no previous file with comments | « content/renderer/child_frame_compositing_helper.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "content/renderer/child_frame_compositing_helper.h" 5 #include "content/renderer/child_frame_compositing_helper.h"
6 6
7 #include "cc/layers/delegated_frame_provider.h" 7 #include "cc/layers/delegated_frame_provider.h"
8 #include "cc/layers/delegated_frame_resource_collection.h" 8 #include "cc/layers/delegated_frame_resource_collection.h"
9 #include "cc/layers/delegated_renderer_layer.h" 9 #include "cc/layers/delegated_renderer_layer.h"
10 #include "cc/layers/solid_color_layer.h" 10 #include "cc/layers/solid_color_layer.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 RenderFrameImpl* render_frame, 60 RenderFrameImpl* render_frame,
61 int host_routing_id) 61 int host_routing_id)
62 : host_routing_id_(host_routing_id), 62 : host_routing_id_(host_routing_id),
63 last_route_id_(0), 63 last_route_id_(0),
64 last_output_surface_id_(0), 64 last_output_surface_id_(0),
65 last_host_id_(0), 65 last_host_id_(0),
66 last_mailbox_valid_(false), 66 last_mailbox_valid_(false),
67 ack_pending_(true), 67 ack_pending_(true),
68 software_ack_pending_(false), 68 software_ack_pending_(false),
69 opaque_(true), 69 opaque_(true),
70 frame_(frame),
71 browser_plugin_(browser_plugin), 70 browser_plugin_(browser_plugin),
72 render_frame_(render_frame) {} 71 render_frame_(render_frame),
72 frame_(frame) {}
73 73
74 ChildFrameCompositingHelper::~ChildFrameCompositingHelper() {} 74 ChildFrameCompositingHelper::~ChildFrameCompositingHelper() {}
75 75
76 BrowserPluginManager* ChildFrameCompositingHelper::GetBrowserPluginManager() { 76 BrowserPluginManager* ChildFrameCompositingHelper::GetBrowserPluginManager() {
77 if (!browser_plugin_) 77 if (!browser_plugin_)
78 return NULL; 78 return NULL;
79 79
80 return browser_plugin_->browser_plugin_manager(); 80 return browser_plugin_->browser_plugin_manager();
81 } 81 }
82 82
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 dest_size.height()); 556 dest_size.height());
557 } 557 }
558 if (GetBrowserPluginManager()) { 558 if (GetBrowserPluginManager()) {
559 GetBrowserPluginManager()->Send( 559 GetBrowserPluginManager()->Send(
560 new BrowserPluginHostMsg_CopyFromCompositingSurfaceAck( 560 new BrowserPluginHostMsg_CopyFromCompositingSurfaceAck(
561 host_routing_id_, GetInstanceID(), request_id, resized_bitmap)); 561 host_routing_id_, GetInstanceID(), request_id, resized_bitmap));
562 } 562 }
563 } 563 }
564 564
565 } // namespace content 565 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/child_frame_compositing_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698