/external/chromium/chrome/browser/ |
unload_uitest.cc | 26 "<html><head><title>beforeunload</title></head><body>" 243 // Navigate to a page with an infinite beforeunload handler. 258 // Navigate to a page with an infinite beforeunload handler. 283 // Tests closing the browser with a beforeunload handler and clicking 284 // OK in the beforeunload confirm dialog. 288 NavigateToDataURL(BEFORE_UNLOAD_HTML, L"beforeunload"); 299 // Tests closing the browser with a beforeunload handler and clicking 300 // CANCEL in the beforeunload confirm dialog. 304 NavigateToDataURL(BEFORE_UNLOAD_HTML, L"beforeunload"); 332 // Tests closing the browser and clicking OK in the beforeunload confirm dialo [all...] |
browser_browsertest.cc | 53 "<html><head><title>beforeunload</title></head><body>" 272 // Clear the beforeunload handler so the test can easily exit. 288 // two beforeunload dialogs shown. 295 // beforeunload dialog. Then show another alert, to make it easy to verify 296 // that a second beforeunload dialog isn't shown.
|
/external/chromium/chrome/browser/chromeos/ |
tab_closeable_state_watcher_browsertest.cc | 78 // Navigate to URL with BeforeUnload handler. 81 "<html><head><title>beforeunload</title></head><body>" 274 // Tests closing of browser with BeforeUnload handler where user clicks cancel 280 // Navigate to URL with BeforeUnload handler. 284 // Close browser, click Cancel in BeforeUnload confirm dialog. 302 // Tests closing of browser with BeforeUnload handler where user clicks OK (i.e. 307 // Navigate to URL with BeforeUnload handler. 311 // Close browser, click OK in BeforeUnload confirm dialog.
|
/external/webkit/Source/WebCore/bindings/v8/ |
V8AbstractEventListener.cpp | 145 // In beforeunload/unload handlers, we want to avoid sleeps which do tight loops of calling Date.getTime(). 146 if (event->type() == "beforeunload" || event->type() == "unload") 183 if (event->type() == "beforeunload" || event->type() == "unload")
|
/external/webkit/Source/WebCore/html/ |
HTMLBodyElement.h | 56 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(beforeunload);
|
HTMLFrameSetElement.h | 54 DEFINE_WINDOW_ATTRIBUTE_EVENT_LISTENER(beforeunload);
|
HTMLFrameElementBase.cpp | 145 // FIXME: should <frame> elements have beforeunload handlers?
|
/external/chromium/chrome/browser/chromeos/frame/ |
panel_controller.h | 52 // button is pressed to give beforeunload handlers a chance to cancel.
|
/external/webkit/Source/WebCore/dom/ |
EventNames.h | 38 macro(beforeunload) \
|
/external/chromium/chrome/browser/ui/ |
browser.h | 313 // Gives beforeunload handlers the chance to cancel the close. 728 // Figure out if there are tabs that have beforeunload handlers. [all...] |
browser.cc | [all...] |
/external/webkit/Source/WebCore/page/ |
DOMWindow.h | 268 DEFINE_ATTRIBUTE_EVENT_LISTENER(beforeunload);
|
/external/chromium/chrome/browser/tab_contents/ |
web_contents_unittest.cc | 605 // Simulate beforeunload approval. 653 // Simulate beforeunload approval. 718 // Navigate to new site, with the beforeunload request in flight. 727 // but it should act as if the beforeunload ack arrived. [all...] |
/external/webkit/Tools/MiniBrowser/mac/ |
BrowserWindowController.m | 522 [alert setMessageText:[NSString stringWithFormat:@"BeforeUnload confirm dialog from %@.", [(NSURL *)cfURL absoluteString]]];
|
/external/webkit/Source/WebKit/chromium/public/ |
WebView.h | 136 // Runs beforeunload handlers for the current page, returning false if
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebViewPrivate.h | 290 @abstract Checks if all the open WebViews can be closed (by dispatching the beforeUnload event to the pages).
|
/external/webkit/Tools/DumpRenderTree/mac/ |
EventSendingController.mm | 103 @"beforeunload", [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
browser_window_controller.mm | 527 // Give beforeunload handlers the chance to cancel the close before we hide [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
browser_window_gtk.cc | [all...] |
/external/chromium/chrome/browser/ui/views/frame/ |
browser_view.cc | [all...] |
/external/webkit/Source/WebCore/loader/ |
FrameLoader.cpp | [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/gdocs/js/ |
jquery-1.4.1.min.js | 57 0,d=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true}; [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/parse-only/ |
mootools-1.2.2-core-nc.js | [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
jquery-1.6.2.min.js | [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/benchmark/jquery/ |
jquery-1.4.2.min.js | 58 "events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent= [all...] |