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

Side by Side Diff: Source/core/page/DOMWindow.cpp

Issue 14323004: Make Frame's ScriptController an OwnPtr and remove the #include (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/cache/CachedResourceLoader.cpp ('k') | Source/core/page/EventSource.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, 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 #include "PageGroup.h" 78 #include "PageGroup.h"
79 #include "PageTransitionEvent.h" 79 #include "PageTransitionEvent.h"
80 #include "Performance.h" 80 #include "Performance.h"
81 #include "PlatformScreen.h" 81 #include "PlatformScreen.h"
82 #include "RequestAnimationFrameCallback.h" 82 #include "RequestAnimationFrameCallback.h"
83 #include "RuntimeEnabledFeatures.h" 83 #include "RuntimeEnabledFeatures.h"
84 #include "ScheduledAction.h" 84 #include "ScheduledAction.h"
85 #include "Screen.h" 85 #include "Screen.h"
86 #include "ScriptCallStack.h" 86 #include "ScriptCallStack.h"
87 #include "ScriptCallStackFactory.h" 87 #include "ScriptCallStackFactory.h"
88 #include "ScriptController.h"
88 #include "SecurityOrigin.h" 89 #include "SecurityOrigin.h"
89 #include "SecurityPolicy.h" 90 #include "SecurityPolicy.h"
90 #include "SerializedScriptValue.h" 91 #include "SerializedScriptValue.h"
91 #include "Settings.h" 92 #include "Settings.h"
92 #include "Storage.h" 93 #include "Storage.h"
93 #include "StorageArea.h" 94 #include "StorageArea.h"
94 #include "StorageNamespace.h" 95 #include "StorageNamespace.h"
95 #include "StyleMedia.h" 96 #include "StyleMedia.h"
96 #include "StyleResolver.h" 97 #include "StyleResolver.h"
97 #include "SuddenTermination.h" 98 #include "SuddenTermination.h"
(...skipping 1841 matching lines...) Expand 10 before | Expand all | Expand 10 after
1939 WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_fr ame->view())); 1940 WindowFeatures windowFeatures(dialogFeaturesString, screenAvailableRect(m_fr ame->view()));
1940 Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures, 1941 Frame* dialogFrame = createWindow(urlString, emptyAtom, windowFeatures,
1941 activeWindow, firstFrame, m_frame, function, functionContext); 1942 activeWindow, firstFrame, m_frame, function, functionContext);
1942 if (!dialogFrame) 1943 if (!dialogFrame)
1943 return; 1944 return;
1944 UserGestureIndicatorDisabler disabler; 1945 UserGestureIndicatorDisabler disabler;
1945 dialogFrame->page()->chrome()->runModal(); 1946 dialogFrame->page()->chrome()->runModal();
1946 } 1947 }
1947 1948
1948 } // namespace WebCore 1949 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/loader/cache/CachedResourceLoader.cpp ('k') | Source/core/page/EventSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698