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

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

Issue 2116763002: Reland: Web MIDI: use mojom::blink::PermissionService directly to ask permission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review #13 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;
93 class WebNotificationPermissionCallback; 92 class WebNotificationPermissionCallback;
94 class WebPermissionClient; 93 class WebPermissionClient;
95 class WebServiceWorkerProvider; 94 class WebServiceWorkerProvider;
96 class WebSocketHandle; 95 class WebSocketHandle;
97 class WebPlugin; 96 class WebPlugin;
98 class WebPresentationClient; 97 class WebPresentationClient;
99 class WebPushClient; 98 class WebPushClient;
100 class WebRTCPeerConnectionHandler; 99 class WebRTCPeerConnectionHandler;
101 class WebScreenOrientationClient; 100 class WebScreenOrientationClient;
102 class WebString; 101 class WebString;
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 virtual void willStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) { } 585 virtual void willStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) { }
587 586
588 virtual WebUserMediaClient* userMediaClient() { return 0; } 587 virtual WebUserMediaClient* userMediaClient() { return 0; }
589 588
590 589
591 // Encrypted Media ------------------------------------------------- 590 // Encrypted Media -------------------------------------------------
592 591
593 virtual WebEncryptedMediaClient* encryptedMediaClient() { return 0; } 592 virtual WebEncryptedMediaClient* encryptedMediaClient() { return 0; }
594 593
595 594
596 // Web MIDI -------------------------------------------------------------
597
598 virtual WebMIDIClient* webMIDIClient() { return 0; }
599
600 // User agent ------------------------------------------------------ 595 // User agent ------------------------------------------------------
601 596
602 // Asks the embedder if a specific user agent should be used. Non-empty 597 // Asks the embedder if a specific user agent should be used. Non-empty
603 // strings indicate an override should be used. Otherwise, 598 // strings indicate an override should be used. Otherwise,
604 // Platform::current()->userAgent() will be called to provide one. 599 // Platform::current()->userAgent() will be called to provide one.
605 virtual WebString userAgentOverride() { return WebString(); } 600 virtual WebString userAgentOverride() { return WebString(); }
606 601
607 // Do not track ---------------------------------------------------- 602 // Do not track ----------------------------------------------------
608 603
609 // Asks the embedder what value the network stack will send for the DNT 604 // 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
727 return WebPageVisibilityStateVisible; 722 return WebPageVisibilityStateVisible;
728 } 723 }
729 724
730 protected: 725 protected:
731 virtual ~WebFrameClient() { } 726 virtual ~WebFrameClient() { }
732 }; 727 };
733 728
734 } // namespace blink 729 } // namespace blink
735 730
736 #endif 731 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698