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

Side by Side Diff: Source/core/dom/ExecutionContext.cpp

Issue 334283004: Rename DOMWindow to LocalDOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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/dom/ExecutionContext.h ('k') | Source/core/dom/ExecutionContextClient.h » ('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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2012 Google Inc. All Rights Reserved. 3 * Copyright (C) 2012 Google 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 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 return virtualCompleteURL(url); 268 return virtualCompleteURL(url);
269 } 269 }
270 270
271 void ExecutionContext::disableEval(const String& errorMessage) 271 void ExecutionContext::disableEval(const String& errorMessage)
272 { 272 {
273 if (!m_client) 273 if (!m_client)
274 return; 274 return;
275 return m_client->disableEval(errorMessage); 275 return m_client->disableEval(errorMessage);
276 } 276 }
277 277
278 DOMWindow* ExecutionContext::executingWindow() const 278 LocalDOMWindow* ExecutionContext::executingWindow() const
279 { 279 {
280 RELEASE_ASSERT(m_client); 280 RELEASE_ASSERT(m_client);
281 return m_client->executingWindow(); 281 return m_client->executingWindow();
282 } 282 }
283 283
284 String ExecutionContext::userAgent(const KURL& url) const 284 String ExecutionContext::userAgent(const KURL& url) const
285 { 285 {
286 if (!m_client) 286 if (!m_client)
287 return String(); 287 return String();
288 return m_client->userAgent(url); 288 return m_client->userAgent(url);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 338
339 void ExecutionContext::trace(Visitor* visitor) 339 void ExecutionContext::trace(Visitor* visitor)
340 { 340 {
341 #if ENABLE(OILPAN) 341 #if ENABLE(OILPAN)
342 visitor->trace(m_pendingExceptions); 342 visitor->trace(m_pendingExceptions);
343 #endif 343 #endif
344 Supplementable<WebCore::ExecutionContext>::trace(visitor); 344 Supplementable<WebCore::ExecutionContext>::trace(visitor);
345 } 345 }
346 346
347 } // namespace WebCore 347 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/ExecutionContext.h ('k') | Source/core/dom/ExecutionContextClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698