| Index: ppapi/cpp/dev/resize_client_dev.h
|
| ===================================================================
|
| --- ppapi/cpp/dev/resize_client_dev.h (revision 0)
|
| +++ ppapi/cpp/dev/resize_client_dev.h (revision 0)
|
| @@ -0,0 +1,38 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef PPAPI_CPP_DEV_RESIZE_CLIENT_DEV_H_
|
| +#define PPAPI_CPP_DEV_RESIZE_CLIENT_DEV_H_
|
| +
|
| +#include "ppapi/c/pp_stdint.h"
|
| +
|
| +namespace pp {
|
| +
|
| +class Instance;
|
| +
|
| +// This class provides a C++ interface for callbacks to know when a full-frame
|
| +// plugin starts and stops resizing. Only plugins that use the ScrollGroup API
|
| +// need to listen to this.
|
| +class ResizeClient_Dev {
|
| + public:
|
| + ResizeClient_Dev(Instance* instance);
|
| + virtual ~ResizeClient_Dev();
|
| +
|
| + /**
|
| + * Notification that the resizing for this full frame plugin has started.
|
| + */
|
| + virtual void WillStartLiveResize() = 0;
|
| +
|
| + /**
|
| + * Notification that the resizing for this full frame plugin has stopped.
|
| + */
|
| + virtual void WillEndLiveResize() = 0;
|
| +
|
| + private:
|
| + Instance* associated_instance_;
|
| +};
|
| +
|
| +} // namespace pp
|
| +
|
| +#endif // PPAPI_CPP_DEV_RESIZE_CLIENT_DEV_H_
|
|
|
| Property changes on: ppapi\cpp\dev\resize_client_dev.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|