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

Side by Side Diff: webkit/api/public/WebFrameClient.h

Issue 181014: Eliminate remaining WebCore dependencies from webplugin_impl.cc... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class WebString; 44 class WebString;
45 class WebURL; 45 class WebURL;
46 class WebWorker; 46 class WebWorker;
47 class WebWorkerClient; 47 class WebWorkerClient;
48 48
49 class WebFrameClient { 49 class WebFrameClient {
50 public: 50 public:
51 // Factory methods ----------------------------------------------------- 51 // Factory methods -----------------------------------------------------
52 52
53 // May return null. 53 // May return null.
54 virtual WebPlugin* createPlugin( 54 virtual WebPlugin* createPlugin(WebFrame*, const WebPluginParams&) = 0;
55 WebFrame*, const WebURL& source, const WebString& mimeType,
56 const WebString& classID, WebString* actualMimeType) = 0;
57 55
58 // May return null. 56 // May return null.
59 virtual WebWorker* createWorker(WebFrame*, WebWorkerClient*) = 0; 57 virtual WebWorker* createWorker(WebFrame*, WebWorkerClient*) = 0;
60 58
61 // May return null. 59 // May return null.
62 virtual WebMediaPlayer* createMediaPlayer(WebFrame*, WebMediaPlayerClient*) = 0; 60 virtual WebMediaPlayer* createMediaPlayer(WebFrame*, WebMediaPlayerClient*) = 0;
63 61
64 62
65 // General notifications ----------------------------------------------- 63 // General notifications -----------------------------------------------
66 64
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 180
183 181
184 // Geometry notifications ---------------------------------------------- 182 // Geometry notifications ----------------------------------------------
185 183
186 // The size of the content area changed. 184 // The size of the content area changed.
187 virtual void didChangeContentsSize(WebFrame*) = 0; 185 virtual void didChangeContentsSize(WebFrame*) = 0;
188 186
189 187
190 // FIXME need to add: 188 // FIXME need to add:
191 // find-in-page 189 // find-in-page
190
191 protected:
192 ~WebFrameClient() { }
192 }; 193 };
193 194
194 } // namespace WebKit 195 } // namespace WebKit
195 196
196 #endif 197 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698