| Index: webkit/plugins/ppapi/ppb_scrollbar_group_impl.h
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppb_scrollbar_group_impl.h (revision 0)
|
| +++ webkit/plugins/ppapi/ppb_scrollbar_group_impl.h (revision 0)
|
| @@ -0,0 +1,51 @@
|
| +// 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 WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_GROUP_IMPL_H_
|
| +#define WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_GROUP_IMPL_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#include "ppapi/thunk/ppb_scrollbar_group_api.h"
|
| +#include "webkit/plugins/ppapi/resource.h"
|
| +
|
| +namespace WebKit {
|
| +class WebScrollbarGroup;
|
| +}
|
| +
|
| +namespace webkit {
|
| +namespace ppapi {
|
| +
|
| +class PluginInstance;
|
| +
|
| +class PPB_ScrollbarGroup_Impl
|
| + : public Resource,
|
| + public ::ppapi::thunk::PPB_ScrollbarGroup_API {
|
| + public:
|
| + PPB_ScrollbarGroup_Impl(PluginInstance* instance);
|
| + virtual ~PPB_ScrollbarGroup_Impl();
|
| +
|
| + // ResourceObjectBase override.
|
| + virtual PPB_ScrollbarGroup_API* AsPPB_ScrollbarGroup_API() OVERRIDE;
|
| +
|
| + // Called by PluginInstance so that we can forward these events to WebKit.
|
| + void MouseEnteredContentArea();
|
| + void MouseMovedInContentArea();
|
| + void MouseExitedContentArea();
|
| + void WillStartLiveResize();
|
| + void ContentResized();
|
| + void WillEndLiveResize();
|
| +
|
| + WebKit::WebScrollbarGroup* GetWebScrollbarGroup();
|
| +
|
| + private:
|
| + scoped_ptr<WebKit::WebScrollbarGroup> scrollbar_group_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PPB_ScrollbarGroup_Impl);
|
| +};
|
| +
|
| +} // namespace ppapi
|
| +} // namespace webkit
|
| +
|
| +#endif // WEBKIT_PLUGINS_PPAPI_PPB_SCROLLBAR_GROUP_IMPL_H_
|
|
|
| Property changes on: webkit\plugins\ppapi\ppb_scrollbar_group_impl.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|