ExtensionInstallDialogView: fix scrolling behavior on Views (Win,Linux)
[chromium-blink-merge.git] / remoting / client / plugin / pepper_plugin_thread_delegate.h
blobeb6ddb34db372eb4eeb2fbfa2b2be3547d9bf6a9
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_
6 #define REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_
8 #include "remoting/base/plugin_thread_task_runner.h"
10 namespace pp {
11 class Core;
12 } // namespace pp
14 namespace remoting {
16 class PepperPluginThreadDelegate : public PluginThreadTaskRunner::Delegate {
17 public:
18 PepperPluginThreadDelegate();
19 ~PepperPluginThreadDelegate() override;
21 bool RunOnPluginThread(base::TimeDelta delay,
22 void(CDECL function)(void*),
23 void* data) override;
25 private:
26 pp::Core* core_;
29 } // namespace remoting
31 #endif // REMOTING_CLIENT_PLUGIN_PEPPER_PLUGIN_THREAD_DELEGATE_H_