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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin_compositing_helper.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/browser_plugin/browser_plugin_compositing_helper.h" 5 #include "content/renderer/browser_plugin/browser_plugin_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 14 matching lines...) Expand all
25 25
26 BrowserPluginCompositingHelper::SwapBuffersInfo::SwapBuffersInfo() 26 BrowserPluginCompositingHelper::SwapBuffersInfo::SwapBuffersInfo()
27 : route_id(0), 27 : route_id(0),
28 output_surface_id(0), 28 output_surface_id(0),
29 host_id(0), 29 host_id(0),
30 software_frame_id(0), 30 software_frame_id(0),
31 shared_memory(NULL) { 31 shared_memory(NULL) {
32 } 32 }
33 33
34 BrowserPluginCompositingHelper::BrowserPluginCompositingHelper( 34 BrowserPluginCompositingHelper::BrowserPluginCompositingHelper(
35 WebKit::WebPluginContainer* container, 35 blink::WebPluginContainer* container,
36 BrowserPluginManager* manager, 36 BrowserPluginManager* manager,
37 int instance_id, 37 int instance_id,
38 int host_routing_id) 38 int host_routing_id)
39 : instance_id_(instance_id), 39 : instance_id_(instance_id),
40 host_routing_id_(host_routing_id), 40 host_routing_id_(host_routing_id),
41 last_route_id_(0), 41 last_route_id_(0),
42 last_output_surface_id_(0), 42 last_output_surface_id_(0),
43 last_host_id_(0), 43 last_host_id_(0),
44 last_mailbox_valid_(false), 44 last_mailbox_valid_(false),
45 ack_pending_(true), 45 ack_pending_(true),
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 } 379 }
380 380
381 void BrowserPluginCompositingHelper::UpdateVisibility(bool visible) { 381 void BrowserPluginCompositingHelper::UpdateVisibility(bool visible) {
382 if (texture_layer_.get()) 382 if (texture_layer_.get())
383 texture_layer_->SetIsDrawable(visible); 383 texture_layer_->SetIsDrawable(visible);
384 if (delegated_layer_.get()) 384 if (delegated_layer_.get())
385 delegated_layer_->SetIsDrawable(visible); 385 delegated_layer_->SetIsDrawable(visible);
386 } 386 }
387 387
388 } // namespace content 388 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698