| Index: webkit/api/public/WebView.h
|
| ===================================================================
|
| --- webkit/api/public/WebView.h (revision 27710)
|
| +++ webkit/api/public/WebView.h (working copy)
|
| @@ -37,7 +37,6 @@
|
| namespace WebKit {
|
| class WebDragData;
|
| class WebFrame;
|
| - class WebFrameClient;
|
| class WebSettings;
|
| class WebString;
|
| class WebViewClient;
|
| @@ -45,18 +44,9 @@
|
|
|
| class WebView : public WebWidget {
|
| public:
|
| - // Initialization ------------------------------------------------------
|
| + WEBKIT_API WebView* create(WebViewClient*);
|
|
|
| - // FIXME enable this once WebViewDelegate has been eliminated.
|
| - //WEBKIT_API WebView* create(WebViewClient*);
|
|
|
| - // After creating a WebView, you should immediately call this method.
|
| - // You can optionally modify the settings before calling this method.
|
| - // The WebFrameClient will receive events for the main frame and any
|
| - // child frames.
|
| - virtual void initializeMainFrame(WebFrameClient*) = 0;
|
| -
|
| -
|
| // Options -------------------------------------------------------------
|
|
|
| // The returned pointer is valid for the lifetime of the WebView.
|
| @@ -67,26 +57,7 @@
|
| virtual WebString pageEncoding() const = 0;
|
| virtual void setPageEncoding(const WebString&) = 0;
|
|
|
| - // Makes the WebView transparent. This is useful if you want to have
|
| - // some custom background rendered behind it.
|
| - virtual bool isTransparent() const = 0;
|
| - virtual void setIsTransparent(bool) = 0;
|
|
|
| - // Controls whether pressing Tab key advances focus to links.
|
| - virtual bool tabsToLinks() const = 0;
|
| - virtual void setTabsToLinks(bool) = 0;
|
| -
|
| - // Method that controls whether pressing Tab key cycles through page
|
| - // elements or inserts a '\t' char in the focused text area.
|
| - virtual bool tabKeyCyclesThroughElements() const = 0;
|
| - virtual void setTabKeyCyclesThroughElements(bool) = 0;
|
| -
|
| - // Controls the WebView's active state, which may affect the rendering
|
| - // of elements on the page (i.e., tinting of input elements).
|
| - virtual bool isActive() const = 0;
|
| - virtual void setIsActive(bool) = 0;
|
| -
|
| -
|
| // Closing -------------------------------------------------------------
|
|
|
| // Runs beforeunload handlers for the current page, returning false if
|
| @@ -175,12 +146,7 @@
|
|
|
| virtual int dragIdentity() = 0;
|
|
|
| - // Helper method for drag and drop target operations: override the
|
| - // default drop effect with either a "copy" (accept true) or "none"
|
| - // (accept false) effect. Return true on success.
|
| - virtual bool setDropEffect(bool accept) = 0;
|
|
|
| -
|
| // Developer tools -----------------------------------------------------
|
|
|
| // Inspect a particular point in the WebView. (x = -1 || y = -1) is a
|
|
|