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

Side by Side Diff: WebKit/chromium/public/WebFrameClient.h

Issue 3453022: Merge 68061 - 2010-09-22 Matt Perry <mpcomplete@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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
« no previous file with comments | « WebKit/chromium/ChangeLog ('k') | WebKit/chromium/public/WebScriptController.h » ('j') | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // frame context. 294 // frame context.
295 virtual void didCreateScriptContext(WebFrame*) { } 295 virtual void didCreateScriptContext(WebFrame*) { }
296 296
297 // Notifies that this frame's script context has been destroyed. 297 // Notifies that this frame's script context has been destroyed.
298 virtual void didDestroyScriptContext(WebFrame*) { } 298 virtual void didDestroyScriptContext(WebFrame*) { }
299 299
300 // Notifies that a garbage-collected context was created - content 300 // Notifies that a garbage-collected context was created - content
301 // scripts. 301 // scripts.
302 virtual void didCreateIsolatedScriptContext(WebFrame*) { } 302 virtual void didCreateIsolatedScriptContext(WebFrame*) { }
303 303
304 // Controls whether the given script extension should run in a new script
305 // context in this frame. If extensionGroup is 0, the script context is the
306 // frame's main context. Otherwise, it is a context created by
307 // WebFrame::executeScriptInIsolatedWorld with that same extensionGroup
308 // value.
309 virtual bool allowScriptExtension(WebFrame*, const WebString& extensionName, int extensionGroup) { return true; }
310
304 311
305 // Geometry notifications ---------------------------------------------- 312 // Geometry notifications ----------------------------------------------
306 313
307 // The frame's document finished the initial layout of a page. 314 // The frame's document finished the initial layout of a page.
308 virtual void didFirstLayout(WebFrame*) { } 315 virtual void didFirstLayout(WebFrame*) { }
309 316
310 // The frame's document finished the initial non-empty layout of a page. 317 // The frame's document finished the initial non-empty layout of a page.
311 virtual void didFirstVisuallyNonEmptyLayout(WebFrame*) { } 318 virtual void didFirstVisuallyNonEmptyLayout(WebFrame*) { }
312 319
313 // The size of the content area changed. 320 // The size of the content area changed.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 WebFrame*, WebFileSystem::Type, long long size, 354 WebFrame*, WebFileSystem::Type, long long size,
348 WebFileSystemCallbacks*) { } 355 WebFileSystemCallbacks*) { }
349 356
350 protected: 357 protected:
351 ~WebFrameClient() { } 358 ~WebFrameClient() { }
352 }; 359 };
353 360
354 } // namespace WebKit 361 } // namespace WebKit
355 362
356 #endif 363 #endif
OLDNEW
« no previous file with comments | « WebKit/chromium/ChangeLog ('k') | WebKit/chromium/public/WebScriptController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698