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

Unified Diff: content/browser/browser_plugin/browser_plugin_guest.cc

Issue 2633303003: Clean up RenderWidgetHostView(ChildFrame and Guest) compositing code (Closed)
Patch Set: c Created 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_plugin/browser_plugin_guest.cc
diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
index 97ea0475fc3176c9aa7a1d99d4152c5005b901cb..f95dab6a5ed4569b0bba517fa026ba58b28dde83 100644
--- a/content/browser/browser_plugin/browser_plugin_guest.cc
+++ b/content/browser/browser_plugin/browser_plugin_guest.cc
@@ -15,6 +15,7 @@
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "cc/surfaces/surface.h"
+#include "cc/surfaces/surface_info.h"
#include "cc/surfaces/surface_manager.h"
#include "content/browser/browser_plugin/browser_plugin_embedder.h"
#include "content/browser/browser_thread_impl.h"
@@ -414,14 +415,11 @@ void BrowserPluginGuest::PointerLockPermissionResponse(bool allow) {
}
void BrowserPluginGuest::SetChildFrameSurface(
- const cc::SurfaceId& surface_id,
- const gfx::Size& frame_size,
- float scale_factor,
+ const cc::SurfaceInfo& surface_info,
const cc::SurfaceSequence& sequence) {
has_attached_since_surface_set_ = false;
SendMessageToEmbedder(base::MakeUnique<BrowserPluginMsg_SetChildFrameSurface>(
- browser_plugin_instance_id(), surface_id, frame_size, scale_factor,
- sequence));
+ browser_plugin_instance_id(), surface_info, sequence));
}
void BrowserPluginGuest::OnSatisfySequence(
« no previous file with comments | « content/browser/browser_plugin/browser_plugin_guest.h ('k') | content/browser/frame_host/cross_process_frame_connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698