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

Unified Diff: third_party/WebKit/Source/WebKit/chromium/src/WebPluginContainerImpl.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: Make scrollbars appear when chrome becomes active 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: third_party/WebKit/Source/WebKit/chromium/src/WebPluginContainerImpl.h
===================================================================
--- third_party/WebKit/Source/WebKit/chromium/src/WebPluginContainerImpl.h (revision 92488)
+++ third_party/WebKit/Source/WebKit/chromium/src/WebPluginContainerImpl.h (working copy)
@@ -35,6 +35,7 @@
#include "WebPluginContainer.h"
#include "Widget.h"
+#include <wtf/OwnPtr.h>
#include <wtf/PassRefPtr.h>
#include <wtf/Vector.h>
@@ -54,6 +55,7 @@
namespace WebKit {
+class ScrollbarGroup;
class WebPlugin;
class WebPluginLoadObserver;
@@ -127,6 +129,11 @@
virtual WebCore::LayerChromium* platformLayer() const;
#endif
+ ScrollbarGroup* scrollbarGroup();
+
+ void willStartLiveResize();
+ void willEndLiveResize();
+
private:
WebPluginContainerImpl(WebCore::HTMLPlugInElement* element, WebPlugin* webPlugin);
~WebPluginContainerImpl();
@@ -150,6 +157,10 @@
#if USE(ACCELERATED_COMPOSITING)
RefPtr<WebCore::PluginLayerChromium> m_platformLayer;
#endif
+
+ // The associated scrollbar group object, created lazily. Used for Pepper
+ // scrollbars.
+ OwnPtr<ScrollbarGroup> m_scrollbarGroup;
};
} // namespace WebKit

Powered by Google App Engine
This is Rietveld 408576698