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

Unified Diff: remoting/client/plugin/pepper_view.cc

Issue 2861047: Refactor the client code. Move all x11-related code into X11View and create... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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: remoting/client/plugin/pepper_view.cc
===================================================================
--- remoting/client/plugin/pepper_view.cc (revision 52921)
+++ remoting/client/plugin/pepper_view.cc (working copy)
@@ -30,6 +30,13 @@
PepperView::~PepperView() {
}
+bool PepperView::Initialize() {
+ return true;
+}
+
+void PepperView::TearDown() {
+}
+
void PepperView::Paint() {
if (!plugin_->CurrentlyOnPluginThread()) {
RunTaskOnPluginThread(NewRunnableMethod(this, &PepperView::Paint));
@@ -118,10 +125,10 @@
}
}
-void PepperView::SetBackingStoreSize(int width, int height) {
+void PepperView::SetHostScreenSize(int width, int height) {
if (!plugin_->CurrentlyOnPluginThread()) {
RunTaskOnPluginThread(NewRunnableMethod(this,
- &PepperView::SetBackingStoreSize,
+ &PepperView::SetHostScreenSize,
width, height));
return;
}

Powered by Google App Engine
This is Rietveld 408576698