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

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

Issue 2129913005: Revert of Web MIDI: use mojom::blink::PermissionService directly to ask permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 class WebExternalPopupMenuClient; 82 class WebExternalPopupMenuClient;
83 class WebFileChooserCompletion; 83 class WebFileChooserCompletion;
84 class WebFormElement; 84 class WebFormElement;
85 class WebInstalledAppClient; 85 class WebInstalledAppClient;
86 class WebMediaPlayer; 86 class WebMediaPlayer;
87 class WebMediaPlayerClient; 87 class WebMediaPlayerClient;
88 class WebMediaPlayerEncryptedMediaClient; 88 class WebMediaPlayerEncryptedMediaClient;
89 class WebMediaPlayerSource; 89 class WebMediaPlayerSource;
90 class WebMediaSession; 90 class WebMediaSession;
91 class WebMediaStream; 91 class WebMediaStream;
92 class WebMIDIClient;
92 class WebNotificationPermissionCallback; 93 class WebNotificationPermissionCallback;
93 class WebPermissionClient; 94 class WebPermissionClient;
94 class WebServiceWorkerProvider; 95 class WebServiceWorkerProvider;
95 class WebSocketHandle; 96 class WebSocketHandle;
96 class WebPlugin; 97 class WebPlugin;
97 class WebPresentationClient; 98 class WebPresentationClient;
98 class WebPushClient; 99 class WebPushClient;
99 class WebRTCPeerConnectionHandler; 100 class WebRTCPeerConnectionHandler;
100 class WebScreenOrientationClient; 101 class WebScreenOrientationClient;
101 class WebString; 102 class WebString;
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 virtual void willStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) { } 586 virtual void willStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) { }
586 587
587 virtual WebUserMediaClient* userMediaClient() { return 0; } 588 virtual WebUserMediaClient* userMediaClient() { return 0; }
588 589
589 590
590 // Encrypted Media ------------------------------------------------- 591 // Encrypted Media -------------------------------------------------
591 592
592 virtual WebEncryptedMediaClient* encryptedMediaClient() { return 0; } 593 virtual WebEncryptedMediaClient* encryptedMediaClient() { return 0; }
593 594
594 595
596 // Web MIDI -------------------------------------------------------------
597
598 virtual WebMIDIClient* webMIDIClient() { return 0; }
599
595 // User agent ------------------------------------------------------ 600 // User agent ------------------------------------------------------
596 601
597 // Asks the embedder if a specific user agent should be used. Non-empty 602 // Asks the embedder if a specific user agent should be used. Non-empty
598 // strings indicate an override should be used. Otherwise, 603 // strings indicate an override should be used. Otherwise,
599 // Platform::current()->userAgent() will be called to provide one. 604 // Platform::current()->userAgent() will be called to provide one.
600 virtual WebString userAgentOverride() { return WebString(); } 605 virtual WebString userAgentOverride() { return WebString(); }
601 606
602 // Do not track ---------------------------------------------------- 607 // Do not track ----------------------------------------------------
603 608
604 // Asks the embedder what value the network stack will send for the DNT 609 // Asks the embedder what value the network stack will send for the DNT
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 return WebPageVisibilityStateVisible; 727 return WebPageVisibilityStateVisible;
723 } 728 }
724 729
725 protected: 730 protected:
726 virtual ~WebFrameClient() { } 731 virtual ~WebFrameClient() { }
727 }; 732 };
728 733
729 } // namespace blink 734 } // namespace blink
730 735
731 #endif 736 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | third_party/WebKit/public/web/modules/webmidi/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698