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

Side by Side Diff: public/web/WebFrameClient.h

Issue 1084923002: Wake Lock API implementation (Blink part) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « public/platform/modules/wake_lock/WebWakeLockClient.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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 class WebPluginPlaceholder; 84 class WebPluginPlaceholder;
85 class WebPresentationClient; 85 class WebPresentationClient;
86 class WebPushClient; 86 class WebPushClient;
87 class WebRTCPeerConnectionHandler; 87 class WebRTCPeerConnectionHandler;
88 class WebScreenOrientationClient; 88 class WebScreenOrientationClient;
89 class WebString; 89 class WebString;
90 class WebURL; 90 class WebURL;
91 class WebURLResponse; 91 class WebURLResponse;
92 class WebUserMediaClient; 92 class WebUserMediaClient;
93 class WebVRClient; 93 class WebVRClient;
94 class WebWakeLockClient;
94 class WebWorkerContentSettingsClientProxy; 95 class WebWorkerContentSettingsClientProxy;
95 struct WebColorSuggestion; 96 struct WebColorSuggestion;
96 struct WebConsoleMessage; 97 struct WebConsoleMessage;
97 struct WebContextMenuData; 98 struct WebContextMenuData;
98 struct WebPluginParams; 99 struct WebPluginParams;
99 struct WebPopupMenuInfo; 100 struct WebPopupMenuInfo;
100 struct WebRect; 101 struct WebRect;
101 struct WebURLError; 102 struct WebURLError;
102 103
103 class WebFrameClient { 104 class WebFrameClient {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 virtual void requestStorageQuota( 510 virtual void requestStorageQuota(
510 WebLocalFrame*, WebStorageQuotaType, 511 WebLocalFrame*, WebStorageQuotaType,
511 unsigned long long newQuotaInBytes, 512 unsigned long long newQuotaInBytes,
512 WebStorageQuotaCallbacks) { } 513 WebStorageQuotaCallbacks) { }
513 514
514 // WebSocket ----------------------------------------------------- 515 // WebSocket -----------------------------------------------------
515 516
516 // A WebSocket object is going to open a new WebSocket connection. 517 // A WebSocket object is going to open a new WebSocket connection.
517 virtual void willOpenWebSocket(WebSocketHandle*) { } 518 virtual void willOpenWebSocket(WebSocketHandle*) { }
518 519
520 // Wake Lock -----------------------------------------------------
521
522 virtual WebWakeLockClient* wakeLockClient() { return 0; }
519 523
520 // Geolocation --------------------------------------------------------- 524 // Geolocation ---------------------------------------------------------
521 525
522 // Access the embedder API for (client-based) geolocation client . 526 // Access the embedder API for (client-based) geolocation client .
523 virtual WebGeolocationClient* geolocationClient() { return 0; } 527 virtual WebGeolocationClient* geolocationClient() { return 0; }
524 528
525 529
526 // MediaStream ----------------------------------------------------- 530 // MediaStream -----------------------------------------------------
527 531
528 // A new WebRTCPeerConnectionHandler is created. 532 // A new WebRTCPeerConnectionHandler is created.
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 // Bluetooth ----------------------------------------------------------- 672 // Bluetooth -----------------------------------------------------------
669 virtual WebBluetooth* bluetooth() { return 0; } 673 virtual WebBluetooth* bluetooth() { return 0; }
670 674
671 protected: 675 protected:
672 virtual ~WebFrameClient() { } 676 virtual ~WebFrameClient() { }
673 }; 677 };
674 678
675 } // namespace blink 679 } // namespace blink
676 680
677 #endif 681 #endif
OLDNEW
« no previous file with comments | « public/platform/modules/wake_lock/WebWakeLockClient.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698