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

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: Revised method for widget lifetime management. Created 7 years 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
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 99
100 // Services ------------------------------------------------------------ 100 // Services ------------------------------------------------------------
101 101
102 // A frame specific cookie jar. May return null, in which case 102 // A frame specific cookie jar. May return null, in which case
103 // WebKitPlatformSupport::cookieJar() will be called to access cookies. 103 // WebKitPlatformSupport::cookieJar() will be called to access cookies.
104 virtual WebCookieJar* cookieJar(WebFrame*) { return 0; } 104 virtual WebCookieJar* cookieJar(WebFrame*) { return 0; }
105 105
106 106
107 // General notifications ----------------------------------------------- 107 // General notifications -----------------------------------------------
108 108
109 // Indicates if creating a plugin without an associated renderer is supporte d.
110 virtual bool canCreatePluginWithoutRenderer(const WebString& mimeType) { ret urn false; }
111
109 // Indicates that another page has accessed the DOM of the initial empty 112 // Indicates that another page has accessed the DOM of the initial empty
110 // document of a main frame. After this, it is no longer safe to show a 113 // document of a main frame. After this, it is no longer safe to show a
111 // pending navigation's URL, because a URL spoof is possible. 114 // pending navigation's URL, because a URL spoof is possible.
112 virtual void didAccessInitialDocument(WebFrame*) { } 115 virtual void didAccessInitialDocument(WebFrame*) { }
113 116
114 // A child frame was created in this frame. This is called when the frame 117 // A child frame was created in this frame. This is called when the frame
115 // is created and initialized. Takes the name of the new frame, the parent 118 // is created and initialized. Takes the name of the new frame, the parent
116 // frame and returns a new WebFrame. The WebFrame is considered in-use 119 // frame and returns a new WebFrame. The WebFrame is considered in-use
117 // until frameDetached() is called on it. 120 // until frameDetached() is called on it.
118 virtual WebFrame* createChildFrame(WebFrame* parent, const WebString& frameN ame) { return 0; } 121 virtual WebFrame* createChildFrame(WebFrame* parent, const WebString& frameN ame) { return 0; }
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // Extensions3D.h in WebCore/platform/graphics). 376 // Extensions3D.h in WebCore/platform/graphics).
374 virtual void didLoseWebGLContext(WebFrame*, int) { } 377 virtual void didLoseWebGLContext(WebFrame*, int) { }
375 378
376 protected: 379 protected:
377 ~WebFrameClient() { } 380 ~WebFrameClient() { }
378 }; 381 };
379 382
380 } // namespace blink 383 } // namespace blink
381 384
382 #endif 385 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698