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

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

Issue 23618022: BrowserPlugin/WebView - Move plugin lifetime to DOM (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Handle shared-renderer case. Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | public/web/WebPlugin.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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 // Services ------------------------------------------------------------ 110 // Services ------------------------------------------------------------
111 111
112 // A frame specific cookie jar. May return null, in which case 112 // A frame specific cookie jar. May return null, in which case
113 // WebKitPlatformSupport::cookieJar() will be called to access cookies. 113 // WebKitPlatformSupport::cookieJar() will be called to access cookies.
114 virtual WebCookieJar* cookieJar(WebLocalFrame*) { return 0; } 114 virtual WebCookieJar* cookieJar(WebLocalFrame*) { return 0; }
115 115
116 116
117 // General notifications ----------------------------------------------- 117 // General notifications -----------------------------------------------
118 118
119 // Indicates if creating a plugin without an associated renderer is supporte d.
120 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret urn false; }
121
119 // Indicates that another page has accessed the DOM of the initial empty 122 // Indicates that another page has accessed the DOM of the initial empty
120 // document of a main frame. After this, it is no longer safe to show a 123 // document of a main frame. After this, it is no longer safe to show a
121 // pending navigation's URL, because a URL spoof is possible. 124 // pending navigation's URL, because a URL spoof is possible.
122 virtual void didAccessInitialDocument(WebLocalFrame*) { } 125 virtual void didAccessInitialDocument(WebLocalFrame*) { }
123 126
124 // A child frame was created in this frame. This is called when the frame 127 // A child frame was created in this frame. This is called when the frame
125 // is created and initialized. Takes the name of the new frame, the parent 128 // is created and initialized. Takes the name of the new frame, the parent
126 // frame and returns a new WebFrame. The WebFrame is considered in-use 129 // frame and returns a new WebFrame. The WebFrame is considered in-use
127 // until frameDetached() is called on it. 130 // until frameDetached() is called on it.
128 // Note: If you override this, you should almost certainly be overriding 131 // Note: If you override this, you should almost certainly be overriding
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // Send initial drawing parameters to a child frame that is being rendered o ut of process. 432 // Send initial drawing parameters to a child frame that is being rendered o ut of process.
430 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { } 433 virtual void initializeChildFrame(const WebRect& frameRect, float scaleFacto r) { }
431 434
432 protected: 435 protected:
433 ~WebFrameClient() { } 436 ~WebFrameClient() { }
434 }; 437 };
435 438
436 } // namespace blink 439 } // namespace blink
437 440
438 #endif 441 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | public/web/WebPlugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698