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

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

Issue 1906883002: [Do Not Commit] Migrate vr service from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/public/platform/modules/vr/vr_service.mojom ('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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 UnloadHandler, 676 UnloadHandler,
677 }; 677 };
678 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 678 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
679 679
680 680
681 // Permissions --------------------------------------------------------- 681 // Permissions ---------------------------------------------------------
682 682
683 // Access the embedder API for permission client. 683 // Access the embedder API for permission client.
684 virtual WebPermissionClient* permissionClient() { return 0; } 684 virtual WebPermissionClient* permissionClient() { return 0; }
685 685
686 // Virtual Reality -----------------------------------------------------
687
688 // Access the embedder API for virtual reality client.
689 virtual WebVRClient* webVRClient() { return 0; }
690
691 // App Banners --------------------------------------------------------- 686 // App Banners ---------------------------------------------------------
692 virtual WebAppBannerClient* appBannerClient() { return 0; } 687 virtual WebAppBannerClient* appBannerClient() { return 0; }
693 688
694 // Navigator Content Utils -------------------------------------------- 689 // Navigator Content Utils --------------------------------------------
695 690
696 // Registers a new URL handler for the given protocol. 691 // Registers a new URL handler for the given protocol.
697 virtual void registerProtocolHandler(const WebString& scheme, 692 virtual void registerProtocolHandler(const WebString& scheme,
698 const WebURL& url, 693 const WebURL& url,
699 const WebString& title) { } 694 const WebString& title) { }
700 695
(...skipping 28 matching lines...) Expand all
729 // Mojo ---------------------------------------------------------------- 724 // Mojo ----------------------------------------------------------------
730 virtual ServiceRegistry* serviceRegistry() { return nullptr; } 725 virtual ServiceRegistry* serviceRegistry() { return nullptr; }
731 726
732 protected: 727 protected:
733 virtual ~WebFrameClient() { } 728 virtual ~WebFrameClient() { }
734 }; 729 };
735 730
736 } // namespace blink 731 } // namespace blink
737 732
738 #endif 733 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/vr/vr_service.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698