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

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

Issue 2838503002: Remove redundant WebLocalFrame* parameter from WillReleaseScriptContext (Closed)
Patch Set: Rebase Created 3 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/Source/web/tests/WebFrameTest.cpp ('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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 // Script notifications ------------------------------------------------ 594 // Script notifications ------------------------------------------------
595 595
596 // Notifies that a new script context has been created for this frame. 596 // Notifies that a new script context has been created for this frame.
597 // This is similar to didClearWindowObject but only called once per 597 // This is similar to didClearWindowObject but only called once per
598 // frame context. 598 // frame context.
599 virtual void DidCreateScriptContext(WebLocalFrame*, 599 virtual void DidCreateScriptContext(WebLocalFrame*,
600 v8::Local<v8::Context>, 600 v8::Local<v8::Context>,
601 int world_id) {} 601 int world_id) {}
602 602
603 // WebKit is about to release its reference to a v8 context for a frame. 603 // WebKit is about to release its reference to a v8 context for a frame.
604 virtual void WillReleaseScriptContext(WebLocalFrame*, 604 virtual void WillReleaseScriptContext(v8::Local<v8::Context>, int world_id) {}
605 v8::Local<v8::Context>,
606 int world_id) {}
607 605
608 // Geometry notifications ---------------------------------------------- 606 // Geometry notifications ----------------------------------------------
609 607
610 // The main frame scrolled. 608 // The main frame scrolled.
611 virtual void DidChangeScrollOffset() {} 609 virtual void DidChangeScrollOffset() {}
612 610
613 // If the frame is loading an HTML document, this will be called to 611 // If the frame is loading an HTML document, this will be called to
614 // notify that the <body> will be attached soon. 612 // notify that the <body> will be attached soon.
615 virtual void WillInsertBody(WebLocalFrame*) {} 613 virtual void WillInsertBody(WebLocalFrame*) {}
616 614
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 // Overwrites the given URL to use an HTML5 embed if possible. 764 // Overwrites the given URL to use an HTML5 embed if possible.
767 // An empty URL is returned if the URL is not overriden. 765 // An empty URL is returned if the URL is not overriden.
768 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { 766 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) {
769 return WebURL(); 767 return WebURL();
770 } 768 }
771 }; 769 };
772 770
773 } // namespace blink 771 } // namespace blink
774 772
775 #endif 773 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698