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

Unified Diff: webkit/api/public/WebView.h

Issue 246060: Revert 27705 - Move various methods from glue/webview.h to api/public/WebView... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | webkit/glue/chrome_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | webkit/glue/chrome_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698