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

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

Issue 2719333002: second stage
Patch Set: Need to get around resource loading without web/ Created 3 years, 9 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/public/platform/modules/mime_handler_view/mime_handler_view.mojom ('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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 struct WebPopupMenuInfo; 104 struct WebPopupMenuInfo;
105 struct WebRect; 105 struct WebRect;
106 struct WebURLError; 106 struct WebURLError;
107 107
108 class BLINK_EXPORT WebFrameClient { 108 class BLINK_EXPORT WebFrameClient {
109 public: 109 public:
110 virtual ~WebFrameClient() {} 110 virtual ~WebFrameClient() {}
111 111
112 // Factory methods ----------------------------------------------------- 112 // Factory methods -----------------------------------------------------
113 113
114 // Returns a unique ID within this renderer process.
115 virtual int32_t getUniqueElementIdForMimeHandlerView() { return 0; }
116
114 // May return null. 117 // May return null.
115 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { 118 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) {
116 return 0; 119 return 0;
117 } 120 }
118 121
119 // May return null. 122 // May return null.
120 // WebContentDecryptionModule* may be null if one has not yet been set. 123 // WebContentDecryptionModule* may be null if one has not yet been set.
121 virtual WebMediaPlayer* createMediaPlayer(const WebMediaPlayerSource&, 124 virtual WebMediaPlayer* createMediaPlayer(const WebMediaPlayerSource&,
122 WebMediaPlayerClient*, 125 WebMediaPlayerClient*,
123 WebMediaPlayerEncryptedMediaClient*, 126 WebMediaPlayerEncryptedMediaClient*,
(...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 // Overwrites the given URL to use an HTML5 embed if possible. 757 // Overwrites the given URL to use an HTML5 embed if possible.
755 // An empty URL is returned if the URL is not overriden. 758 // An empty URL is returned if the URL is not overriden.
756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 759 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
757 return WebURL(); 760 return WebURL();
758 } 761 }
759 }; 762 };
760 763
761 } // namespace blink 764 } // namespace blink
762 765
763 #endif 766 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/modules/mime_handler_view/mime_handler_view.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698