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

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

Issue 2108003002: Merge //content/child/permissions into Blink's permissions module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/permissions/WebPermissionStatus.h ('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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 WebMIDIClient;
93 class WebNotificationPermissionCallback; 93 class WebNotificationPermissionCallback;
94 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;
103 class WebURL; 102 class WebURL;
104 class WebURLResponse; 103 class WebURLResponse;
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
663 // Called when elements preventing the sudden termination of the frame 662 // Called when elements preventing the sudden termination of the frame
664 // become present or stop being present. |type| is the type of element 663 // become present or stop being present. |type| is the type of element
665 // (BeforeUnload handler, Unload handler). 664 // (BeforeUnload handler, Unload handler).
666 enum SuddenTerminationDisablerType { 665 enum SuddenTerminationDisablerType {
667 BeforeUnloadHandler, 666 BeforeUnloadHandler,
668 UnloadHandler, 667 UnloadHandler,
669 }; 668 };
670 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 669 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
671 670
672 671
673 // Permissions ---------------------------------------------------------
674
675 // Access the embedder API for permission client.
676 virtual WebPermissionClient* permissionClient() { return 0; }
677
678 // App Banners --------------------------------------------------------- 672 // App Banners ---------------------------------------------------------
679 virtual WebAppBannerClient* appBannerClient() { return 0; } 673 virtual WebAppBannerClient* appBannerClient() { return 0; }
680 674
681 // Navigator Content Utils -------------------------------------------- 675 // Navigator Content Utils --------------------------------------------
682 676
683 // Registers a new URL handler for the given protocol. 677 // Registers a new URL handler for the given protocol.
684 virtual void registerProtocolHandler(const WebString& scheme, 678 virtual void registerProtocolHandler(const WebString& scheme,
685 const WebURL& url, 679 const WebURL& url,
686 const WebString& title) { } 680 const WebString& title) { }
687 681
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 return WebPageVisibilityStateVisible; 715 return WebPageVisibilityStateVisible;
722 } 716 }
723 717
724 protected: 718 protected:
725 virtual ~WebFrameClient() { } 719 virtual ~WebFrameClient() { }
726 }; 720 };
727 721
728 } // namespace blink 722 } // namespace blink
729 723
730 #endif 724 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/permissions/WebPermissionStatus.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698