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

Unified Diff: public/webview/WebView.h

Issue 16298005: Remove Battery Status API support code from Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | « public/webview/WebBatteryStatusClient.h ('k') | public/webview/WebViewClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/webview/WebView.h
diff --git a/public/webview/WebView.h b/public/webview/WebView.h
index 7280b4b4588bb8a109a945b011a124dd0d95742d..8997ef4830461760fa6ba992b697bb8dacda5f05 100644
--- a/public/webview/WebView.h
+++ b/public/webview/WebView.h
@@ -41,7 +41,6 @@ namespace WebKit {
class WebAccessibilityObject;
class WebAutofillClient;
-class WebBatteryStatus;
class WebDevToolsAgent;
class WebDevToolsAgentClient;
class WebDragData;
@@ -497,13 +496,6 @@ public:
virtual void addPageOverlay(WebPageOverlay*, int /*z-order*/) = 0;
virtual void removePageOverlay(WebPageOverlay*) = 0;
- // Battery status API support -------------------------------------------
-
- // Updates the battery status in the BatteryClient. This also triggers the
- // appropriate JS events (e.g. sends a 'levelchange' event to JS if the
- // level is changed in this update from the previous update).
- virtual void updateBatteryStatus(const WebBatteryStatus&) { }
-
// Testing functionality for TestRunner ---------------------------------
protected:
« no previous file with comments | « public/webview/WebBatteryStatusClient.h ('k') | public/webview/WebViewClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698