diff options
author | Steve Block <steveblock@google.com> | 2011-05-18 13:36:51 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2011-05-24 15:38:28 +0100 |
commit | 2fc2651226baac27029e38c9d6ef883fa32084db (patch) | |
tree | e396d4bf89dcce6ed02071be66212495b1df1dec /Source/WebCore/page/ChromeClient.h | |
parent | b3725cedeb43722b3b175aaeff70552e562d2c94 (diff) | |
download | external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.zip external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.tar.gz external_webkit-2fc2651226baac27029e38c9d6ef883fa32084db.tar.bz2 |
Merge WebKit at r78450: Initial merge by git.
Change-Id: I6d3e5f1f868ec266a0aafdef66182ddc3f265dc1
Diffstat (limited to 'Source/WebCore/page/ChromeClient.h')
-rw-r--r-- | Source/WebCore/page/ChromeClient.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Source/WebCore/page/ChromeClient.h b/Source/WebCore/page/ChromeClient.h index 98b56da..83f039f 100644 --- a/Source/WebCore/page/ChromeClient.h +++ b/Source/WebCore/page/ChromeClient.h @@ -26,7 +26,6 @@ #include "Cursor.h" #include "FocusDirection.h" #include "GraphicsContext.h" -#include "HTMLParserQuirks.h" #include "HostWindow.h" #include "PopupMenu.h" #include "PopupMenuClient.h" @@ -53,7 +52,6 @@ namespace WebCore { class FloatRect; class Frame; class Geolocation; - class HTMLParserQuirks; class HitTestResult; class IntRect; class NavigationAction; @@ -136,6 +134,10 @@ namespace WebCore { virtual bool shouldInterruptJavaScript() = 0; virtual bool tabsToLinks() const = 0; +#if ENABLE(REGISTER_PROTOCOL_HANDLER) + virtual void registerProtocolHandler(const String& scheme, const String& baseURL, const String& url, const String& title) = 0; +#endif + virtual IntRect windowResizerRect() const = 0; // Methods used by HostWindow. @@ -211,6 +213,8 @@ namespace WebCore { float value, float proportion, ScrollbarControlPartMask); virtual bool paintCustomScrollCorner(GraphicsContext*, const FloatRect&); + virtual bool paintCustomOverhangArea(GraphicsContext*, const IntRect&, const IntRect&, const IntRect&); + // FIXME: Remove once all ports are using client-based geolocation. https://bugs.webkit.org/show_bug.cgi?id=40373 // For client-based geolocation, these two methods have moved to GeolocationClient. https://bugs.webkit.org/show_bug.cgi?id=50061 // This can be either a synchronous or asynchronous call. The ChromeClient can display UI asking the user for permission @@ -229,8 +233,6 @@ namespace WebCore { virtual void formDidFocus(const Node*) { }; virtual void formDidBlur(const Node*) { }; - virtual PassOwnPtr<HTMLParserQuirks> createHTMLParserQuirks() = 0; - #if USE(ACCELERATED_COMPOSITING) // Pass 0 as the GraphicsLayer to detatch the root layer. virtual void attachRootGraphicsLayer(Frame*, GraphicsLayer*) = 0; @@ -292,6 +294,7 @@ namespace WebCore { #endif virtual bool selectItemWritingDirectionIsNatural() = 0; + virtual bool selectItemAlignmentFollowsMenuWritingDirection() = 0; virtual PassRefPtr<PopupMenu> createPopupMenu(PopupMenuClient*) const = 0; virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const = 0; @@ -301,9 +304,13 @@ namespace WebCore { virtual void postAccessibilityNotification(AccessibilityObject*, AXObjectCache::AXNotification) { } +<<<<<<< HEAD #if ENABLE(ANDROID_INSTALLABLE_WEB_APPS) virtual void webAppCanBeInstalled() = 0; #endif +======= + virtual void didCompleteRubberBandForMainFrame(const IntSize&) const { } +>>>>>>> webkit.org at r78450 protected: virtual ~ChromeClient() { } |