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

Side by Side Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 1112813002: Make use of v8::Local alias in Source/web* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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/web/FrameLoaderClientImpl.h ('k') | Source/web/WebBindings.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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
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 are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 if (devToolsFrontend) 143 if (devToolsFrontend)
144 devToolsFrontend->didClearWindowObject(m_webFrame); 144 devToolsFrontend->didClearWindowObject(m_webFrame);
145 } 145 }
146 146
147 void FrameLoaderClientImpl::documentElementAvailable() 147 void FrameLoaderClientImpl::documentElementAvailable()
148 { 148 {
149 if (m_webFrame->client()) 149 if (m_webFrame->client())
150 m_webFrame->client()->didCreateDocumentElement(m_webFrame); 150 m_webFrame->client()->didCreateDocumentElement(m_webFrame);
151 } 151 }
152 152
153 void FrameLoaderClientImpl::didCreateScriptContext(v8::Handle<v8::Context> conte xt, int extensionGroup, int worldId) 153 void FrameLoaderClientImpl::didCreateScriptContext(v8::Local<v8::Context> contex t, int extensionGroup, int worldId)
154 { 154 {
155 if (m_webFrame->client()) 155 if (m_webFrame->client())
156 m_webFrame->client()->didCreateScriptContext(m_webFrame, context, extens ionGroup, worldId); 156 m_webFrame->client()->didCreateScriptContext(m_webFrame, context, extens ionGroup, worldId);
157 } 157 }
158 158
159 void FrameLoaderClientImpl::willReleaseScriptContext(v8::Handle<v8::Context> con text, int worldId) 159 void FrameLoaderClientImpl::willReleaseScriptContext(v8::Local<v8::Context> cont ext, int worldId)
160 { 160 {
161 if (m_webFrame->client()) 161 if (m_webFrame->client())
162 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worl dId); 162 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worl dId);
163 } 163 }
164 164
165 bool FrameLoaderClientImpl::allowScriptExtension(const String& extensionName, 165 bool FrameLoaderClientImpl::allowScriptExtension(const String& extensionName,
166 int extensionGroup, 166 int extensionGroup,
167 int worldId) 167 int worldId)
168 { 168 {
169 if (m_webFrame->contentSettingsClient()) 169 if (m_webFrame->contentSettingsClient())
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 966
967 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type) 967 void FrameLoaderClientImpl::suddenTerminationDisablerChanged(bool present, Sudde nTerminationDisablerType type)
968 { 968 {
969 if (m_webFrame->client()) { 969 if (m_webFrame->client()) {
970 m_webFrame->client()->suddenTerminationDisablerChanged( 970 m_webFrame->client()->suddenTerminationDisablerChanged(
971 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type)); 971 present, static_cast<WebFrameClient::SuddenTerminationDisablerType>( type));
972 } 972 }
973 } 973 }
974 974
975 } // namespace blink 975 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | Source/web/WebBindings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698