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

Side by Side Diff: public/webview/WebViewClient.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « public/webview/WebView.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "WebFileChooserParams.h" 42 #include "WebFileChooserParams.h"
43 #include "WebPageVisibilityState.h" 43 #include "WebPageVisibilityState.h"
44 #include "WebPopupType.h" 44 #include "WebPopupType.h"
45 #include "WebTextAffinity.h" 45 #include "WebTextAffinity.h"
46 #include "WebTextDirection.h" 46 #include "WebTextDirection.h"
47 #include "WebWidgetClient.h" 47 #include "WebWidgetClient.h"
48 48
49 namespace WebKit { 49 namespace WebKit {
50 50
51 class WebAccessibilityObject; 51 class WebAccessibilityObject;
52 class WebBatteryStatusClient;
53 class WebColorChooser; 52 class WebColorChooser;
54 class WebColorChooserClient; 53 class WebColorChooserClient;
55 class WebCompositorOutputSurface; 54 class WebCompositorOutputSurface;
56 class WebDateTimeChooserCompletion; 55 class WebDateTimeChooserCompletion;
57 class WebDeviceOrientationClient; 56 class WebDeviceOrientationClient;
58 class WebDragData; 57 class WebDragData;
59 class WebElement; 58 class WebElement;
60 class WebExternalPopupMenu; 59 class WebExternalPopupMenu;
61 class WebExternalPopupMenuClient; 60 class WebExternalPopupMenuClient;
62 class WebFileChooserCompletion; 61 class WebFileChooserCompletion;
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 WebSpeechInputListener*) { return 0; } 334 WebSpeechInputListener*) { return 0; }
336 335
337 // Access the embedder API for speech recognition services. 336 // Access the embedder API for speech recognition services.
338 virtual WebSpeechRecognizer* speechRecognizer() { return 0; } 337 virtual WebSpeechRecognizer* speechRecognizer() { return 0; }
339 338
340 // Device Orientation -------------------------------------------------- 339 // Device Orientation --------------------------------------------------
341 340
342 // Access the embedder API for device orientation services. 341 // Access the embedder API for device orientation services.
343 virtual WebDeviceOrientationClient* deviceOrientationClient() { return 0; } 342 virtual WebDeviceOrientationClient* deviceOrientationClient() { return 0; }
344 343
345 // Battery Status ------------------------------------------------------
346
347 // Access the embedder API for battery status services.
348 virtual WebBatteryStatusClient* batteryStatusClient() { return 0; }
349
350 // Zoom ---------------------------------------------------------------- 344 // Zoom ----------------------------------------------------------------
351 345
352 // Informs the browser that the zoom levels for this frame have changed from 346 // Informs the browser that the zoom levels for this frame have changed from
353 // the default values. 347 // the default values.
354 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { } 348 virtual void zoomLimitsChanged(double minimumLevel, double maximumLevel) { }
355 349
356 // Informs the browser that the zoom level has changed as a result of an 350 // Informs the browser that the zoom level has changed as a result of an
357 // action that wasn't initiated by the client. 351 // action that wasn't initiated by the client.
358 virtual void zoomLevelChanged() { } 352 virtual void zoomLevelChanged() { }
359 353
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 // Informs the browser that the draggable regions have been updated. 388 // Informs the browser that the draggable regions have been updated.
395 virtual void draggableRegionsChanged() { } 389 virtual void draggableRegionsChanged() { }
396 390
397 protected: 391 protected:
398 ~WebViewClient() { } 392 ~WebViewClient() { }
399 }; 393 };
400 394
401 } // namespace WebKit 395 } // namespace WebKit
402 396
403 #endif 397 #endif
OLDNEW
« no previous file with comments | « public/webview/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698