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

Unified Diff: Source/web/PageWidgetDelegate.h

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « Source/web/PageOverlay.h ('k') | Source/web/PrerendererClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/PageWidgetDelegate.h
diff --git a/Source/web/PageWidgetDelegate.h b/Source/web/PageWidgetDelegate.h
index 04f9beb012029116de6a1aae7cbddc7e03a27c7c..9242175b83a10584f5e593b59d9a42f67ca0b4eb 100644
--- a/Source/web/PageWidgetDelegate.h
+++ b/Source/web/PageWidgetDelegate.h
@@ -33,6 +33,7 @@
#include "public/platform/WebCanvas.h"
#include "public/web/WebWidget.h"
+#include "wtf/Allocator.h"
#include "wtf/OwnPtr.h"
namespace blink {
@@ -63,6 +64,7 @@ public:
// Common implementation of WebViewImpl and WebPagePopupImpl.
class PageWidgetDelegate {
+ STATIC_ONLY(PageWidgetDelegate);
public:
// rootFrame arguments indicate a root localFrame from which to start performing the
// specified operation. If rootFrame is 0, these methods will attempt to use the
@@ -72,9 +74,6 @@ public:
static void paint(Page&, WebCanvas*, const WebRect&, LocalFrame& root);
static void paintIgnoringCompositing(Page&, WebCanvas*, const WebRect&, LocalFrame& root);
static bool handleInputEvent(PageWidgetEventHandler&, const WebInputEvent&, LocalFrame* root);
-
-private:
- PageWidgetDelegate() { }
};
}
« no previous file with comments | « Source/web/PageOverlay.h ('k') | Source/web/PrerendererClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698