summaryrefslogtreecommitdiffstats
path: root/webkit/api
diff options
context:
space:
mode:
authormal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 08:43:32 +0000
committermal@chromium.org <mal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 08:43:32 +0000
commit4c4d056f81e01dc743b6f1cc5773a0686759be23 (patch)
treeb6245ce395c954efe0a49898cd8bc8faa1ca22c5 /webkit/api
parentdd805fef306e6ee0d6bade640ea3689b10e64bc7 (diff)
downloadchromium_src-4c4d056f81e01dc743b6f1cc5773a0686759be23.zip
chromium_src-4c4d056f81e01dc743b6f1cc5773a0686759be23.tar.gz
chromium_src-4c4d056f81e01dc743b6f1cc5773a0686759be23.tar.bz2
Revert 27705 - Move various methods from glue/webview.h to api/public/WebView.h
** browser_tests started failing at this revision. See: http://build.chromium.org/buildbot/waterfall/builders/Chromium%20XP/builds/7697/steps/browser_tests/logs/stdio ** I'll reorder the methods in webview_impl.cc in a followup CL. I wanted to keep this one easy to review. SetBackForwardListSize is no longer necessary given that BackForwardListChromium.cpp doesn't care about its capacity. R=dglazkov BUG=10033 TEST=none Review URL: http://codereview.chromium.org/251051 TBR=darin@chromium.org Review URL: http://codereview.chromium.org/246060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27711 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/api')
-rw-r--r--webkit/api/public/WebView.h36
1 files changed, 1 insertions, 35 deletions
diff --git a/webkit/api/public/WebView.h b/webkit/api/public/WebView.h
index 7904f95e..b91e351 100644
--- a/webkit/api/public/WebView.h
+++ b/webkit/api/public/WebView.h
@@ -37,7 +37,6 @@
namespace WebKit {
class WebDragData;
class WebFrame;
- class WebFrameClient;
class WebSettings;
class WebString;
class WebViewClient;
@@ -45,16 +44,7 @@ namespace WebKit {
class WebView : public WebWidget {
public:
- // Initialization ------------------------------------------------------
-
- // 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;
+ WEBKIT_API WebView* create(WebViewClient*);
// Options -------------------------------------------------------------
@@ -67,25 +57,6 @@ namespace WebKit {
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 -------------------------------------------------------------
@@ -175,11 +146,6 @@ namespace WebKit {
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 -----------------------------------------------------