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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Add TODO Created 4 years, 1 month 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 #include "public/web/WebContentSecurityPolicy.h" 63 #include "public/web/WebContentSecurityPolicy.h"
64 #include <v8.h> 64 #include <v8.h>
65 65
66 namespace blink { 66 namespace blink {
67 67
68 enum class WebTreeScopeType; 68 enum class WebTreeScopeType;
69 class InterfaceProvider; 69 class InterfaceProvider;
70 class InterfaceRegistry; 70 class InterfaceRegistry;
71 class WebApplicationCacheHost; 71 class WebApplicationCacheHost;
72 class WebApplicationCacheHostClient; 72 class WebApplicationCacheHostClient;
73 class WebAppBannerClient;
74 class WebBluetooth; 73 class WebBluetooth;
75 class WebColorChooser; 74 class WebColorChooser;
76 class WebColorChooserClient; 75 class WebColorChooserClient;
77 class WebContentDecryptionModule; 76 class WebContentDecryptionModule;
78 class WebCookieJar; 77 class WebCookieJar;
79 class WebCString; 78 class WebCString;
80 class WebDataSource; 79 class WebDataSource;
81 class WebEncryptedMediaClient; 80 class WebEncryptedMediaClient;
82 class WebExternalPopupMenu; 81 class WebExternalPopupMenu;
83 class WebExternalPopupMenuClient; 82 class WebExternalPopupMenuClient;
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 // become present or stop being present. |type| is the type of element 694 // become present or stop being present. |type| is the type of element
696 // (BeforeUnload handler, Unload handler). 695 // (BeforeUnload handler, Unload handler).
697 enum SuddenTerminationDisablerType { 696 enum SuddenTerminationDisablerType {
698 BeforeUnloadHandler, 697 BeforeUnloadHandler,
699 UnloadHandler, 698 UnloadHandler,
700 }; 699 };
701 virtual void suddenTerminationDisablerChanged(bool present, 700 virtual void suddenTerminationDisablerChanged(bool present,
702 SuddenTerminationDisablerType) { 701 SuddenTerminationDisablerType) {
703 } 702 }
704 703
705 // App Banners ---------------------------------------------------------
706 virtual WebAppBannerClient* appBannerClient() { return 0; }
707
708 // Navigator Content Utils -------------------------------------------- 704 // Navigator Content Utils --------------------------------------------
709 705
710 // Registers a new URL handler for the given protocol. 706 // Registers a new URL handler for the given protocol.
711 virtual void registerProtocolHandler(const WebString& scheme, 707 virtual void registerProtocolHandler(const WebString& scheme,
712 const WebURL& url, 708 const WebURL& url,
713 const WebString& title) {} 709 const WebString& title) {}
714 710
715 // Unregisters a given URL handler for the given protocol. 711 // Unregisters a given URL handler for the given protocol.
716 virtual void unregisterProtocolHandler(const WebString& scheme, 712 virtual void unregisterProtocolHandler(const WebString& scheme,
717 const WebURL& url) {} 713 const WebURL& url) {}
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 // Overwrites the given URL to use an HTML5 embed if possible. 751 // Overwrites the given URL to use an HTML5 embed if possible.
756 // An empty URL is returned if the URL is not overriden. 752 // An empty URL is returned if the URL is not overriden.
757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 753 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
758 return WebURL(); 754 return WebURL();
759 } 755 }
760 }; 756 };
761 757
762 } // namespace blink 758 } // namespace blink
763 759
764 #endif 760 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/app_banner/app_banner.mojom ('k') | third_party/WebKit/public/web/WebLocalFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698