Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1010)

Unified Diff: ppapi/cpp/dev/scrollbar_group_dev.h

Issue 7538006: Pepper and WebKit API change to support a plugin knowing if a scrollbar is an overlay one. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Keep the logic to call WebScrollbarGroupImpl's methods in WebKit entirely Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/dev/scrollbar_group_dev.h
===================================================================
--- ppapi/cpp/dev/scrollbar_group_dev.h (revision 0)
+++ ppapi/cpp/dev/scrollbar_group_dev.h (revision 0)
@@ -0,0 +1,31 @@
+// 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_SCROLLBAR_GROUP_DEV_H_
+#define PPAPI_CPP_DEV_SCROLLBAR_GROUP_DEV_H_
+
+#include "ppapi/c/dev/ppb_scrollbar_group_dev.h"
+#include "ppapi/cpp/resource.h"
+
+namespace pp {
+
+class Instance;
+
+// This class is required when constructing a Scrollbar because on some
+// platforms the look of one scrollbar depends on the other.
+class ScrollbarGroup_Dev : public Resource {
+ public:
+ // Creates an is_null() ScrollbarGroup object.
+ ScrollbarGroup_Dev() {}
+
+ explicit ScrollbarGroup_Dev(PP_Resource resource);
+ ScrollbarGroup_Dev(const Instance& instance);
+ ScrollbarGroup_Dev(const ScrollbarGroup_Dev& other);
+
+ ScrollbarGroup_Dev& operator=(const ScrollbarGroup_Dev& other);
+};
+
+} // namespace pp
+
+#endif // PPAPI_CPP_DEV_SCROLLBAR_GROUP_DEV_H_
Property changes on: ppapi\cpp\dev\scrollbar_group_dev.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698