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

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, 5 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
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 class WebPluginPlaceholder; 81 class WebPluginPlaceholder;
82 class WebPresentationClient; 82 class WebPresentationClient;
83 class WebPushClient; 83 class WebPushClient;
84 class WebRTCPeerConnectionHandler; 84 class WebRTCPeerConnectionHandler;
85 class WebScreenOrientationClient; 85 class WebScreenOrientationClient;
86 class WebString; 86 class WebString;
87 class WebURL; 87 class WebURL;
88 class WebURLResponse; 88 class WebURLResponse;
89 class WebUserMediaClient; 89 class WebUserMediaClient;
90 class WebVRClient; 90 class WebVRClient;
91 class WebWakeLockClient;
91 class WebWorkerContentSettingsClientProxy; 92 class WebWorkerContentSettingsClientProxy;
92 struct WebColorSuggestion; 93 struct WebColorSuggestion;
93 struct WebConsoleMessage; 94 struct WebConsoleMessage;
94 struct WebContextMenuData; 95 struct WebContextMenuData;
95 struct WebPluginParams; 96 struct WebPluginParams;
96 struct WebPopupMenuInfo; 97 struct WebPopupMenuInfo;
97 struct WebRect; 98 struct WebRect;
98 struct WebURLError; 99 struct WebURLError;
99 100
100 class WebFrameClient { 101 class WebFrameClient {
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 virtual void requestStorageQuota( 507 virtual void requestStorageQuota(
507 WebLocalFrame*, WebStorageQuotaType, 508 WebLocalFrame*, WebStorageQuotaType,
508 unsigned long long newQuotaInBytes, 509 unsigned long long newQuotaInBytes,
509 WebStorageQuotaCallbacks) { } 510 WebStorageQuotaCallbacks) { }
510 511
511 // WebSocket ----------------------------------------------------- 512 // WebSocket -----------------------------------------------------
512 513
513 // A WebSocket object is going to open a new WebSocket connection. 514 // A WebSocket object is going to open a new WebSocket connection.
514 virtual void willOpenWebSocket(WebSocketHandle*) { } 515 virtual void willOpenWebSocket(WebSocketHandle*) { }
515 516
517 // Wake Lock -----------------------------------------------------
518
519 virtual WebWakeLockClient* wakeLockClient() { return 0; }
516 520
517 // Geolocation --------------------------------------------------------- 521 // Geolocation ---------------------------------------------------------
518 522
519 // Access the embedder API for (client-based) geolocation client . 523 // Access the embedder API for (client-based) geolocation client .
520 virtual WebGeolocationClient* geolocationClient() { return 0; } 524 virtual WebGeolocationClient* geolocationClient() { return 0; }
521 525
522 526
523 // MediaStream ----------------------------------------------------- 527 // MediaStream -----------------------------------------------------
524 528
525 // A new WebRTCPeerConnectionHandler is created. 529 // A new WebRTCPeerConnectionHandler is created.
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 // App Banners --------------------------------------------------------- 650 // App Banners ---------------------------------------------------------
647 virtual WebAppBannerClient* appBannerClient() { return 0; } 651 virtual WebAppBannerClient* appBannerClient() { return 0; }
648 652
649 protected: 653 protected:
650 virtual ~WebFrameClient() { } 654 virtual ~WebFrameClient() { }
651 }; 655 };
652 656
653 } // namespace blink 657 } // namespace blink
654 658
655 #endif 659 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698