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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.h

Issue 5744005: Revert rev 69137 due to incorrect change log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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/tools/test_shell/test_shell.gypi ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_webview_delegate.h
diff --git a/webkit/tools/test_shell/test_webview_delegate.h b/webkit/tools/test_shell/test_webview_delegate.h
index f5d81ad23bfb8c60f3a1147d5149f261bef0af35..3c7f38d419a28374b5aa4386c85c3445eb7812a9 100644
--- a/webkit/tools/test_shell/test_webview_delegate.h
+++ b/webkit/tools/test_shell/test_webview_delegate.h
@@ -141,11 +141,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
virtual void focusAccessibilityObject(
const WebKit::WebAccessibilityObject& object);
virtual WebKit::WebNotificationPresenter* notificationPresenter();
-#if defined(ENABLE_CLIENT_BASED_GEOLOCATION)
- WebKit::WebGeolocationClient* geolocationClient();
-#else
virtual WebKit::WebGeolocationService* geolocationService();
-#endif
virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
virtual WebKit::WebSpeechInputController* speechInputController(
WebKit::WebSpeechInputListener*);
@@ -327,9 +323,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
edit_command_value_.clear();
}
-#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION)
void SetGeolocationPermission(bool allowed);
-#endif
void ClearContextMenuData();
@@ -385,10 +379,8 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
// Get a string suitable for dumping a frame to the console.
std::wstring GetFrameDescription(WebKit::WebFrame* webframe);
-#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION)
// Returns a TestGeolocationService owned by this delegate.
TestGeolocationService* GetTestGeolocationService();
-#endif
// Causes navigation actions just printout the intended navigation instead
// of taking you to the page. This is used for cases like mailto, where you
@@ -467,9 +459,7 @@ class TestWebViewDelegate : public WebKit::WebViewClient,
// The mock spellchecker used in TestWebViewDelegate::spellCheck().
MockSpellCheck mock_spellcheck_;
-#if !defined(ENABLE_CLIENT_BASED_GEOLOCATION)
scoped_ptr<TestGeolocationService> test_geolocation_service_;
-#endif
DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
};
« no previous file with comments | « webkit/tools/test_shell/test_shell.gypi ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698