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

Unified Diff: webkit/glue/webview_impl.h

Issue 246079: More WebView / WebViewDelegate cleanup. (Closed) Base URL: svn://svn.chromium.org/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 | « webkit/glue/webview_delegate.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.h
===================================================================
--- webkit/glue/webview_impl.h (revision 27906)
+++ webkit/glue/webview_impl.h (working copy)
@@ -16,6 +16,7 @@
#include "skia/ext/platform_canvas.h"
#include "webkit/api/public/WebPoint.h"
#include "webkit/api/public/WebSize.h"
+#include "webkit/api/public/WebString.h"
#include "webkit/api/src/NotificationPresenterImpl.h"
#include "webkit/glue/back_forward_list_client_impl.h"
#include "webkit/glue/chrome_client_impl.h"
@@ -130,11 +131,11 @@
virtual int dragIdentity();
virtual bool setDropEffect(bool accept);
virtual void inspectElementAt(const WebKit::WebPoint& point);
+ virtual WebKit::WebString inspectorSettings() const;
+ virtual void setInspectorSettings(const WebKit::WebString& settings);
// WebView methods:
virtual WebViewDelegate* GetDelegate();
- virtual const std::wstring& GetInspectorSettings() const;
- virtual void SetInspectorSettings(const std::wstring& settings);
virtual void AutofillSuggestionsForNode(
int64 node_id,
const std::vector<std::wstring>& suggestions,
@@ -249,9 +250,6 @@
// the underlying Node for them.
WebCore::Node* GetNodeForWindowPos(int x, int y);
- virtual void SetSpellingPanelVisibility(bool is_visible);
- virtual bool GetSpellingPanelVisibility();
-
#if ENABLE(NOTIFICATIONS)
// Returns the provider of desktop notifications.
WebKit::NotificationPresenterImpl* GetNotificationPresenter();
@@ -397,14 +395,11 @@
// Whether the webview is rendering transparently.
bool is_transparent_;
- // Whether the spelling panel is currently being displayed or not.
- bool spelling_panel_is_visible_;
-
// Whether the user can press tab to focus links.
bool tabs_to_links_;
// Inspector settings.
- std::wstring inspector_settings_;
+ WebKit::WebString inspector_settings_;
#if ENABLE(NOTIFICATIONS)
// The provider of desktop notifications;
« no previous file with comments | « webkit/glue/webview_delegate.h ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698