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

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

Issue 1602663003: Framelet Prototype 2016 using Mojo IPC Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Disabled oilpan Created 4 years, 10 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/features.gni ('k') | third_party/WebKit/public/web/WebFramelet.h » ('j') | 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class WebBluetooth; 66 class WebBluetooth;
67 class WebColorChooser; 67 class WebColorChooser;
68 class WebColorChooserClient; 68 class WebColorChooserClient;
69 class WebContentDecryptionModule; 69 class WebContentDecryptionModule;
70 class WebCookieJar; 70 class WebCookieJar;
71 class WebCString; 71 class WebCString;
72 class WebDataSource; 72 class WebDataSource;
73 class WebEncryptedMediaClient; 73 class WebEncryptedMediaClient;
74 class WebExternalPopupMenu; 74 class WebExternalPopupMenu;
75 class WebExternalPopupMenuClient; 75 class WebExternalPopupMenuClient;
76 class WebFramelet;
76 class WebFormElement; 77 class WebFormElement;
77 class WebGeolocationClient; 78 class WebGeolocationClient;
78 class WebMediaPlayerClient; 79 class WebMediaPlayerClient;
79 class WebMediaPlayerEncryptedMediaClient; 80 class WebMediaPlayerEncryptedMediaClient;
80 class WebMediaSession; 81 class WebMediaSession;
81 class WebMIDIClient; 82 class WebMIDIClient;
82 class WebNotificationPermissionCallback; 83 class WebNotificationPermissionCallback;
83 class WebPermissionClient; 84 class WebPermissionClient;
84 class WebServiceWorkerProvider; 85 class WebServiceWorkerProvider;
85 class WebSocketHandle; 86 class WebSocketHandle;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 virtual void didAccessInitialDocument(WebLocalFrame*) { } 152 virtual void didAccessInitialDocument(WebLocalFrame*) { }
152 153
153 // A child frame was created in this frame. This is called when the frame 154 // A child frame was created in this frame. This is called when the frame
154 // is created and initialized. Takes the name of the new frame, the parent 155 // is created and initialized. Takes the name of the new frame, the parent
155 // frame and returns a new WebFrame. The WebFrame is considered in-use 156 // frame and returns a new WebFrame. The WebFrame is considered in-use
156 // until frameDetached() is called on it. 157 // until frameDetached() is called on it.
157 // Note: If you override this, you should almost certainly be overriding 158 // Note: If you override this, you should almost certainly be overriding
158 // frameDetached(). 159 // frameDetached().
159 virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType, const WebString& frameName, WebSandboxFlags sandboxFlags, const WebFrameOwnerPro perties&) { return nullptr; } 160 virtual WebFrame* createChildFrame(WebLocalFrame* parent, WebTreeScopeType, const WebString& frameName, WebSandboxFlags sandboxFlags, const WebFrameOwnerPro perties&) { return nullptr; }
160 161
162 // Creates a new framelet.
163 virtual WebFramelet* createFramelet(const WebURL& url) { return nullptr; }
164
161 // This frame has set its opener to another frame, or disowned the opener 165 // This frame has set its opener to another frame, or disowned the opener
162 // if opener is null. See http://html.spec.whatwg.org/#dom-opener. 166 // if opener is null. See http://html.spec.whatwg.org/#dom-opener.
163 virtual void didChangeOpener(WebFrame*) { } 167 virtual void didChangeOpener(WebFrame*) { }
164 168
165 // Specifies the reason for the detachment. 169 // Specifies the reason for the detachment.
166 enum class DetachType { Remove, Swap }; 170 enum class DetachType { Remove, Swap };
167 171
168 // This frame has been detached from the view, but has not been closed yet. 172 // This frame has been detached from the view, but has not been closed yet.
169 virtual void frameDetached(WebFrame*, DetachType) { } 173 virtual void frameDetached(WebFrame*, DetachType) { }
170 174
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 // This method takes ownership of the callbacks pointer. 702 // This method takes ownership of the callbacks pointer.
699 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } 703 virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); }
700 704
701 protected: 705 protected:
702 virtual ~WebFrameClient() { } 706 virtual ~WebFrameClient() { }
703 }; 707 };
704 708
705 } // namespace blink 709 } // namespace blink
706 710
707 #endif 711 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/features.gni ('k') | third_party/WebKit/public/web/WebFramelet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698