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

Side by Side Diff: Source/WebCore/page/DOMWindow.h

Issue 8333006: Merge 97667 - Re-landing: window.webkitNotifications uses deallocated NotificationPresenter after... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 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 | « Source/WebCore/notifications/NotificationCenter.cpp ('k') | Source/WebCore/page/DOMWindow.cpp » ('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) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 void webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSy stemCallback>, PassRefPtr<ErrorCallback>); 376 void webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSy stemCallback>, PassRefPtr<ErrorCallback>);
377 void webkitResolveLocalFileSystemURL(const String&, PassRefPtr<EntryCall back>, PassRefPtr<ErrorCallback>); 377 void webkitResolveLocalFileSystemURL(const String&, PassRefPtr<EntryCall back>, PassRefPtr<ErrorCallback>);
378 #endif 378 #endif
379 379
380 #if ENABLE(INDEXED_DATABASE) 380 #if ENABLE(INDEXED_DATABASE)
381 IDBFactory* webkitIndexedDB() const; 381 IDBFactory* webkitIndexedDB() const;
382 #endif 382 #endif
383 383
384 #if ENABLE(NOTIFICATIONS) 384 #if ENABLE(NOTIFICATIONS)
385 NotificationCenter* webkitNotifications() const; 385 NotificationCenter* webkitNotifications() const;
386 // Renders webkitNotifications object safely inoperable, disconnects
387 // if from embedder-provided NotificationPresenter.
388 void resetNotifications();
386 #endif 389 #endif
387 390
388 #if ENABLE(QUOTA) 391 #if ENABLE(QUOTA)
389 StorageInfo* webkitStorageInfo() const; 392 StorageInfo* webkitStorageInfo() const;
390 #endif 393 #endif
391 394
392 #if ENABLE(OFFLINE_WEB_APPLICATIONS) 395 #if ENABLE(OFFLINE_WEB_APPLICATIONS)
393 DOMApplicationCache* applicationCache() const; 396 DOMApplicationCache* applicationCache() const;
394 DOMApplicationCache* optionalApplicationCache() const { return m_applica tionCache.get(); } 397 DOMApplicationCache* optionalApplicationCache() const { return m_applica tionCache.get(); }
395 #endif 398 #endif
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 } 497 }
495 498
496 inline String DOMWindow::defaultStatus() const 499 inline String DOMWindow::defaultStatus() const
497 { 500 {
498 return m_defaultStatus; 501 return m_defaultStatus;
499 } 502 }
500 503
501 } // namespace WebCore 504 } // namespace WebCore
502 505
503 #endif // DOMWindow_h 506 #endif // DOMWindow_h
OLDNEW
« no previous file with comments | « Source/WebCore/notifications/NotificationCenter.cpp ('k') | Source/WebCore/page/DOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698