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

Unified Diff: webkit/glue/webview_impl.cc

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_impl.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webview_impl.cc
===================================================================
--- webkit/glue/webview_impl.cc (revision 27906)
+++ webkit/glue/webview_impl.cc (working copy)
@@ -1605,20 +1605,20 @@
}
}
-// WebView --------------------------------------------------------------------
-
-WebViewDelegate* WebViewImpl::GetDelegate() {
- return delegate_;
-}
-
-const std::wstring& WebViewImpl::GetInspectorSettings() const {
+WebString WebViewImpl::inspectorSettings() const {
return inspector_settings_;
}
-void WebViewImpl::SetInspectorSettings(const std::wstring& settings) {
+void WebViewImpl::setInspectorSettings(const WebString& settings) {
inspector_settings_ = settings;
}
+// WebView --------------------------------------------------------------------
+
+WebViewDelegate* WebViewImpl::GetDelegate() {
+ return delegate_;
+}
+
bool WebViewImpl::setDropEffect(bool accept) {
if (drag_target_dispatch_) {
drop_effect_ = accept ? DROP_EFFECT_COPY : DROP_EFFECT_NONE;
@@ -1895,14 +1895,6 @@
hitTestResultAtPoint(doc_point, false);
}
-void WebViewImpl::SetSpellingPanelVisibility(bool is_visible) {
- spelling_panel_is_visible_ = is_visible;
-}
-
-bool WebViewImpl::GetSpellingPanelVisibility() {
- return spelling_panel_is_visible_;
-}
-
void WebViewImpl::setTabsToLinks(bool enable) {
tabs_to_links_ = enable;
}
« no previous file with comments | « webkit/glue/webview_impl.h ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698