| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "sky/engine/core/script/dart_controller.h" | 65 #include "sky/engine/core/script/dart_controller.h" |
| 66 #include "sky/engine/core/script/dom_dart_state.h" | 66 #include "sky/engine/core/script/dom_dart_state.h" |
| 67 #include "sky/engine/platform/EventDispatchForbiddenScope.h" | 67 #include "sky/engine/platform/EventDispatchForbiddenScope.h" |
| 68 #include "sky/engine/platform/PlatformScreen.h" | 68 #include "sky/engine/platform/PlatformScreen.h" |
| 69 #include "sky/engine/platform/geometry/FloatRect.h" | 69 #include "sky/engine/platform/geometry/FloatRect.h" |
| 70 #include "sky/engine/platform/weborigin/KURL.h" | 70 #include "sky/engine/platform/weborigin/KURL.h" |
| 71 #include "sky/engine/platform/weborigin/SecurityPolicy.h" | 71 #include "sky/engine/platform/weborigin/SecurityPolicy.h" |
| 72 #include "sky/engine/public/platform/Platform.h" | 72 #include "sky/engine/public/platform/Platform.h" |
| 73 #include "sky/engine/public/platform/ServiceProvider.h" | 73 #include "sky/engine/public/platform/ServiceProvider.h" |
| 74 #include "sky/engine/tonic/dart_gc_visitor.h" | 74 #include "sky/engine/tonic/dart_gc_visitor.h" |
| 75 #include "sky/engine/wtf/HashCountedSet.h" |
| 75 #include "sky/engine/wtf/MainThread.h" | 76 #include "sky/engine/wtf/MainThread.h" |
| 76 #include "sky/engine/wtf/MathExtras.h" | 77 #include "sky/engine/wtf/MathExtras.h" |
| 77 #include "sky/engine/wtf/text/WTFString.h" | 78 #include "sky/engine/wtf/text/WTFString.h" |
| 78 | 79 |
| 79 using std::min; | 80 using std::min; |
| 80 using std::max; | 81 using std::max; |
| 81 | 82 |
| 82 namespace blink { | 83 namespace blink { |
| 83 | 84 |
| 84 static void disableSuddenTermination() | 85 static void disableSuddenTermination() |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 { | 724 { |
| 724 return static_cast<DOMWindowLifecycleNotifier&>(LifecycleContext<LocalDOMWin
dow>::lifecycleNotifier()); | 725 return static_cast<DOMWindowLifecycleNotifier&>(LifecycleContext<LocalDOMWin
dow>::lifecycleNotifier()); |
| 725 } | 726 } |
| 726 | 727 |
| 727 PassOwnPtr<LifecycleNotifier<LocalDOMWindow> > LocalDOMWindow::createLifecycleNo
tifier() | 728 PassOwnPtr<LifecycleNotifier<LocalDOMWindow> > LocalDOMWindow::createLifecycleNo
tifier() |
| 728 { | 729 { |
| 729 return DOMWindowLifecycleNotifier::create(this); | 730 return DOMWindowLifecycleNotifier::create(this); |
| 730 } | 731 } |
| 731 | 732 |
| 732 } // namespace blink | 733 } // namespace blink |
| OLD | NEW |