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

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

Issue 2829923003: Remove redundant WebLocalFrame* parameter from DidReceiveTitle (Closed)
Patch Set: Rebase Created 3 years, 7 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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 388
389 // The document element has been created. 389 // The document element has been created.
390 // This method may not invalidate the frame, nor execute JavaScript code. 390 // This method may not invalidate the frame, nor execute JavaScript code.
391 virtual void DidCreateDocumentElement(WebLocalFrame*) {} 391 virtual void DidCreateDocumentElement(WebLocalFrame*) {}
392 392
393 // Like |didCreateDocumentElement|, except this method may run JavaScript 393 // Like |didCreateDocumentElement|, except this method may run JavaScript
394 // code (and possibly invalidate the frame). 394 // code (and possibly invalidate the frame).
395 virtual void RunScriptsAtDocumentElementAvailable(WebLocalFrame*) {} 395 virtual void RunScriptsAtDocumentElementAvailable(WebLocalFrame*) {}
396 396
397 // The page title is available. 397 // The page title is available.
398 virtual void DidReceiveTitle(WebLocalFrame* frame, 398 virtual void DidReceiveTitle(const WebString& title,
399 const WebString& title,
400 WebTextDirection direction) {} 399 WebTextDirection direction) {}
401 400
402 // The icon for the page have changed. 401 // The icon for the page have changed.
403 virtual void DidChangeIcon(WebIconURL::Type) {} 402 virtual void DidChangeIcon(WebIconURL::Type) {}
404 403
405 // The frame's document finished loading. 404 // The frame's document finished loading.
406 // This method may not execute JavaScript code. 405 // This method may not execute JavaScript code.
407 virtual void DidFinishDocumentLoad(WebLocalFrame*) {} 406 virtual void DidFinishDocumentLoad(WebLocalFrame*) {}
408 407
409 // Like |didFinishDocumentLoad|, except this method may run JavaScript 408 // Like |didFinishDocumentLoad|, except this method may run JavaScript
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 // Overwrites the given URL to use an HTML5 embed if possible. 766 // Overwrites the given URL to use an HTML5 embed if possible.
768 // An empty URL is returned if the URL is not overriden. 767 // An empty URL is returned if the URL is not overriden.
769 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { 768 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) {
770 return WebURL(); 769 return WebURL();
771 } 770 }
772 }; 771 };
773 772
774 } // namespace blink 773 } // namespace blink
775 774
776 #endif 775 #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