| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 #include "sky/engine/core/frame/FrameView.h" | 62 #include "sky/engine/core/frame/FrameView.h" |
| 63 #include "sky/engine/core/frame/History.h" | 63 #include "sky/engine/core/frame/History.h" |
| 64 #include "sky/engine/core/frame/LocalFrame.h" | 64 #include "sky/engine/core/frame/LocalFrame.h" |
| 65 #include "sky/engine/core/frame/Location.h" | 65 #include "sky/engine/core/frame/Location.h" |
| 66 #include "sky/engine/core/frame/Screen.h" | 66 #include "sky/engine/core/frame/Screen.h" |
| 67 #include "sky/engine/core/frame/Settings.h" | 67 #include "sky/engine/core/frame/Settings.h" |
| 68 #include "sky/engine/core/html/HTMLDocument.h" | 68 #include "sky/engine/core/html/HTMLDocument.h" |
| 69 #include "sky/engine/core/inspector/ConsoleMessage.h" | 69 #include "sky/engine/core/inspector/ConsoleMessage.h" |
| 70 #include "sky/engine/core/inspector/ConsoleMessageStorage.h" | 70 #include "sky/engine/core/inspector/ConsoleMessageStorage.h" |
| 71 #include "sky/engine/core/inspector/InspectorTraceEvents.h" | 71 #include "sky/engine/core/inspector/InspectorTraceEvents.h" |
| 72 #include "sky/engine/core/inspector/ScriptCallStack.h" | |
| 73 #include "sky/engine/core/loader/FrameLoaderClient.h" | 72 #include "sky/engine/core/loader/FrameLoaderClient.h" |
| 74 #include "sky/engine/core/page/Chrome.h" | 73 #include "sky/engine/core/page/Chrome.h" |
| 75 #include "sky/engine/core/page/ChromeClient.h" | 74 #include "sky/engine/core/page/ChromeClient.h" |
| 76 #include "sky/engine/core/page/EventHandler.h" | 75 #include "sky/engine/core/page/EventHandler.h" |
| 77 #include "sky/engine/core/page/Page.h" | 76 #include "sky/engine/core/page/Page.h" |
| 78 #include "sky/engine/core/page/WindowFocusAllowedIndicator.h" | 77 #include "sky/engine/core/page/WindowFocusAllowedIndicator.h" |
| 79 #include "sky/engine/core/rendering/style/RenderStyle.h" | 78 #include "sky/engine/core/rendering/style/RenderStyle.h" |
| 80 #include "sky/engine/platform/EventDispatchForbiddenScope.h" | 79 #include "sky/engine/platform/EventDispatchForbiddenScope.h" |
| 81 #include "sky/engine/platform/PlatformScreen.h" | 80 #include "sky/engine/platform/PlatformScreen.h" |
| 82 #include "sky/engine/platform/UserGestureIndicator.h" | 81 #include "sky/engine/platform/UserGestureIndicator.h" |
| 83 #include "sky/engine/platform/geometry/FloatRect.h" | 82 #include "sky/engine/platform/geometry/FloatRect.h" |
| 84 #include "sky/engine/platform/weborigin/KURL.h" | 83 #include "sky/engine/platform/weborigin/KURL.h" |
| 85 #include "sky/engine/platform/weborigin/SecurityPolicy.h" | 84 #include "sky/engine/platform/weborigin/SecurityPolicy.h" |
| 86 #include "sky/engine/public/platform/Platform.h" | 85 #include "sky/engine/public/platform/Platform.h" |
| 86 #include "sky/engine/core/inspector/ScriptCallStack.h" |
| 87 #include "sky/engine/wtf/MainThread.h" | 87 #include "sky/engine/wtf/MainThread.h" |
| 88 #include "sky/engine/wtf/MathExtras.h" | 88 #include "sky/engine/wtf/MathExtras.h" |
| 89 #include "sky/engine/wtf/text/WTFString.h" | 89 #include "sky/engine/wtf/text/WTFString.h" |
| 90 | 90 |
| 91 using std::min; | 91 using std::min; |
| 92 using std::max; | 92 using std::max; |
| 93 | 93 |
| 94 namespace blink { | 94 namespace blink { |
| 95 | 95 |
| 96 static void disableSuddenTermination() | 96 static void disableSuddenTermination() |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 { | 797 { |
| 798 return static_cast<DOMWindowLifecycleNotifier&>(LifecycleContext<LocalDOMWin
dow>::lifecycleNotifier()); | 798 return static_cast<DOMWindowLifecycleNotifier&>(LifecycleContext<LocalDOMWin
dow>::lifecycleNotifier()); |
| 799 } | 799 } |
| 800 | 800 |
| 801 PassOwnPtr<LifecycleNotifier<LocalDOMWindow> > LocalDOMWindow::createLifecycleNo
tifier() | 801 PassOwnPtr<LifecycleNotifier<LocalDOMWindow> > LocalDOMWindow::createLifecycleNo
tifier() |
| 802 { | 802 { |
| 803 return DOMWindowLifecycleNotifier::create(this); | 803 return DOMWindowLifecycleNotifier::create(this); |
| 804 } | 804 } |
| 805 | 805 |
| 806 } // namespace blink | 806 } // namespace blink |
| OLD | NEW |