Plugin Power Saver: Force SW rendering for peripheral plugins.
[chromium-blink-merge.git] / ppapi / proxy / mock_resource.h
blob768929da4f5452c0435c40284613cdf7d78167dc
1 // Copyright (c) 2011 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 PPAPI_PROXY_MOCK_RESOURCE_H_
6 #define PPAPI_PROXY_MOCK_RESOURCE_H_
8 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/shared_impl/resource.h"
11 namespace ppapi {
12 namespace proxy {
14 class MockResource : public ppapi::Resource {
15 public:
16 MockResource(const ppapi::HostResource& resource);
17 virtual ~MockResource();
19 private:
20 DISALLOW_COPY_AND_ASSIGN(MockResource);
23 } // namespace proxy
24 } // namespace ppapi
26 #endif // PPAPI_PROXY_MOCK_RESOURCE_H_