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

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

Issue 2388103002: reflow comments in public/web (Closed)
Patch Set: Created 4 years, 2 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
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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 replacesCurrentHistoryItem(false), 298 replacesCurrentHistoryItem(false),
299 isHistoryNavigationInNewChildFrame(false), 299 isHistoryNavigationInNewChildFrame(false),
300 isClientRedirect(false) {} 300 isClientRedirect(false) {}
301 }; 301 };
302 302
303 virtual WebNavigationPolicy decidePolicyForNavigation( 303 virtual WebNavigationPolicy decidePolicyForNavigation(
304 const NavigationPolicyInfo& info) { 304 const NavigationPolicyInfo& info) {
305 return info.defaultPolicy; 305 return info.defaultPolicy;
306 } 306 }
307 307
308 // During a history navigation, we may choose to load new subframes from histo ry as well. 308 // During a history navigation, we may choose to load new subframes from
309 // This returns such a history item if appropriate. 309 // history as well. This returns such a history item if appropriate.
310 virtual WebHistoryItem historyItemForNewChildFrame() { 310 virtual WebHistoryItem historyItemForNewChildFrame() {
311 return WebHistoryItem(); 311 return WebHistoryItem();
312 } 312 }
313 313
314 // Navigational notifications ------------------------------------------ 314 // Navigational notifications ------------------------------------------
315 315
316 // These notifications bracket any loading that occurs in the WebFrame. 316 // These notifications bracket any loading that occurs in the WebFrame.
317 virtual void didStartLoading(bool toDifferentDocument) {} 317 virtual void didStartLoading(bool toDifferentDocument) {}
318 virtual void didStopLoading() {} 318 virtual void didStopLoading() {}
319 319
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 const WebString& scheme, 720 const WebString& scheme,
721 const WebURL& url) { 721 const WebURL& url) {
722 return WebCustomHandlersNew; 722 return WebCustomHandlersNew;
723 } 723 }
724 724
725 // Bluetooth ----------------------------------------------------------- 725 // Bluetooth -----------------------------------------------------------
726 virtual WebBluetooth* bluetooth() { return 0; } 726 virtual WebBluetooth* bluetooth() { return 0; }
727 727
728 // Audio Output Devices API -------------------------------------------- 728 // Audio Output Devices API --------------------------------------------
729 729
730 // Checks that the given audio sink exists and is authorized. The result is pr ovided via the callbacks. 730 // Checks that the given audio sink exists and is authorized. The result is
731 // This method takes ownership of the callbacks pointer. 731 // provided via the callbacks. This method takes ownership of the callbacks
732 // pointer.
732 virtual void checkIfAudioSinkExistsAndIsAuthorized( 733 virtual void checkIfAudioSinkExistsAndIsAuthorized(
733 const WebString& sinkId, 734 const WebString& sinkId,
734 const WebSecurityOrigin&, 735 const WebSecurityOrigin&,
735 WebSetSinkIdCallbacks* callbacks) { 736 WebSetSinkIdCallbacks* callbacks) {
736 if (callbacks) { 737 if (callbacks) {
737 callbacks->onError(WebSetSinkIdError::NotSupported); 738 callbacks->onError(WebSetSinkIdError::NotSupported);
738 delete callbacks; 739 delete callbacks;
739 } 740 }
740 } 741 }
741 742
(...skipping 10 matching lines...) Expand all
752 // Overwrites the given URL to use an HTML5 embed if possible. 753 // Overwrites the given URL to use an HTML5 embed if possible.
753 // An empty URL is returned if the URL is not overriden. 754 // An empty URL is returned if the URL is not overriden.
754 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 755 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
755 return WebURL(); 756 return WebURL();
756 } 757 }
757 }; 758 };
758 759
759 } // namespace blink 760 } // namespace blink
760 761
761 #endif 762 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebFrame.h ('k') | third_party/WebKit/public/web/WebFrameWidget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698