diff options
Diffstat (limited to 'remoting/client/plugin/pepper_view.cc')
-rw-r--r-- | remoting/client/plugin/pepper_view.cc | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/remoting/client/plugin/pepper_view.cc b/remoting/client/plugin/pepper_view.cc index a6ebc13..ce38289 100644 --- a/remoting/client/plugin/pepper_view.cc +++ b/remoting/client/plugin/pepper_view.cc @@ -30,6 +30,13 @@ PepperView::PepperView(ChromotingPlugin* plugin) 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::SetViewport(int x, int y, int width, int height) { } } -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; } |