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

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: for second attempt Created 4 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
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 WebServiceWorkerProvider; 93 class WebServiceWorkerProvider;
95 class WebSocketHandle; 94 class WebSocketHandle;
96 class WebPlugin; 95 class WebPlugin;
97 class WebPresentationClient; 96 class WebPresentationClient;
98 class WebPushClient; 97 class WebPushClient;
99 class WebRTCPeerConnectionHandler; 98 class WebRTCPeerConnectionHandler;
100 class WebScreenOrientationClient; 99 class WebScreenOrientationClient;
101 class WebString; 100 class WebString;
102 class WebURL; 101 class WebURL;
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 virtual void willStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) { } 581 virtual void willStartUsingPeerConnectionHandler(WebRTCPeerConnectionHandler *) { }
583 582
584 virtual WebUserMediaClient* userMediaClient() { return 0; } 583 virtual WebUserMediaClient* userMediaClient() { return 0; }
585 584
586 585
587 // Encrypted Media ------------------------------------------------- 586 // Encrypted Media -------------------------------------------------
588 587
589 virtual WebEncryptedMediaClient* encryptedMediaClient() { return 0; } 588 virtual WebEncryptedMediaClient* encryptedMediaClient() { return 0; }
590 589
591 590
592 // Web MIDI -------------------------------------------------------------
593
594 virtual WebMIDIClient* webMIDIClient() { return 0; }
595
596 // User agent ------------------------------------------------------ 591 // User agent ------------------------------------------------------
597 592
598 // Asks the embedder if a specific user agent should be used. Non-empty 593 // Asks the embedder if a specific user agent should be used. Non-empty
599 // strings indicate an override should be used. Otherwise, 594 // strings indicate an override should be used. Otherwise,
600 // Platform::current()->userAgent() will be called to provide one. 595 // Platform::current()->userAgent() will be called to provide one.
601 virtual WebString userAgentOverride() { return WebString(); } 596 virtual WebString userAgentOverride() { return WebString(); }
602 597
603 // Do not track ---------------------------------------------------- 598 // Do not track ----------------------------------------------------
604 599
605 // Asks the embedder what value the network stack will send for the DNT 600 // Asks the embedder what value the network stack will send for the DNT
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 return WebPageVisibilityStateVisible; 710 return WebPageVisibilityStateVisible;
716 } 711 }
717 712
718 protected: 713 protected:
719 virtual ~WebFrameClient() { } 714 virtual ~WebFrameClient() { }
720 }; 715 };
721 716
722 } // namespace blink 717 } // namespace blink
723 718
724 #endif 719 #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