- Revision
- 121227
- Author
- e...@google.com
- Date
- 2012-06-25 21:43:44 -0700 (Mon, 25 Jun 2012)
Log Message
[chromium] Add WebPluginScrollbar and WebPluginScrollbarClient stub implementations
https://bugs.webkit.org/show_bug.cgi?id=89928
Reviewed by Darin Fisher.
These classes are just typedef'd to be the non-Plugin version. The
next step is to change Chromium to use the Plugin version, then move
most of WebPluginScrollbar to a WebScrollbar in Platform to separate
out the base functionality, while providing the same top level API.
* WebKit.gyp:
* public/WebPluginScrollbar.h: Added.
(WebKit):
* public/WebPluginScrollbarClient.h: Added.
(WebKit):
Modified Paths
Added Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (121226 => 121227)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-06-26 04:41:25 UTC (rev 121226)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-06-26 04:43:44 UTC (rev 121227)
@@ -1,3 +1,21 @@
+2012-06-25 Adrienne Walker <e...@google.com>
+
+ [chromium] Add WebPluginScrollbar and WebPluginScrollbarClient stub implementations
+ https://bugs.webkit.org/show_bug.cgi?id=89928
+
+ Reviewed by Darin Fisher.
+
+ These classes are just typedef'd to be the non-Plugin version. The
+ next step is to change Chromium to use the Plugin version, then move
+ most of WebPluginScrollbar to a WebScrollbar in Platform to separate
+ out the base functionality, while providing the same top level API.
+
+ * WebKit.gyp:
+ * public/WebPluginScrollbar.h: Added.
+ (WebKit):
+ * public/WebPluginScrollbarClient.h: Added.
+ (WebKit):
+
2012-06-25 Sheriff Bot <webkit.review....@gmail.com>
Unreviewed. Rolled DEPS.
Modified: trunk/Source/WebKit/chromium/WebKit.gyp (121226 => 121227)
--- trunk/Source/WebKit/chromium/WebKit.gyp 2012-06-26 04:41:25 UTC (rev 121226)
+++ trunk/Source/WebKit/chromium/WebKit.gyp 2012-06-26 04:43:44 UTC (rev 121227)
@@ -222,6 +222,8 @@
'public/WebPluginContainer.h',
'public/WebPluginDocument.h',
'public/WebPluginListBuilder.h',
+ 'public/WebPluginScrollbar.h',
+ 'public/WebPluginScrollbarClient.h',
'public/WebPrintParams.h',
'public/WebPrintScalingOption.h',
'public/WebPopupMenu.h',
Added: trunk/Source/WebKit/chromium/public/WebPluginScrollbar.h (0 => 121227)
--- trunk/Source/WebKit/chromium/public/WebPluginScrollbar.h (rev 0)
+++ trunk/Source/WebKit/chromium/public/WebPluginScrollbar.h 2012-06-26 04:43:44 UTC (rev 121227)
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2012 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef WebPluginScrollbar_h
+#define WebPluginScrollbar_h
+
+#include "WebScrollbar.h"
+
+namespace WebKit {
+
+typedef WebScrollbar WebPluginScrollbar;
+
+} // namespace WebKit
+
+#endif
Added: trunk/Source/WebKit/chromium/public/WebPluginScrollbarClient.h (0 => 121227)
--- trunk/Source/WebKit/chromium/public/WebPluginScrollbarClient.h (rev 0)
+++ trunk/Source/WebKit/chromium/public/WebPluginScrollbarClient.h 2012-06-26 04:43:44 UTC (rev 121227)
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2012 Google Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef WebPluginScrollbarClient_h
+#define WebPluginScrollbarClient_h
+
+#include "WebPluginScrollbar.h"
+#include "WebScrollbarClient.h"
+
+namespace WebKit {
+
+typedef WebScrollbarClient WebPluginScrollbarClient;
+
+} // namespace WebKit
+
+#endif