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

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

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, iwyu 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/page/History.h ('k') | Source/core/page/MouseEventWithHitTestResults.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, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
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 16 matching lines...) Expand all
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "Location.h" 30 #include "Location.h"
31 31
32 #include "DOMWindow.h" 32 #include "DOMWindow.h"
33 #include "Document.h" 33 #include "Document.h"
34 #include "ExceptionCode.h" 34 #include "ExceptionCode.h"
35 #include "Frame.h" 35 #include "Frame.h"
36 #include "FrameLoader.h" 36 #include "FrameLoader.h"
37 #include "KURL.h"
38 #include "SecurityOrigin.h" 37 #include "SecurityOrigin.h"
38 #include "core/platform/KURL.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 Location::Location(Frame* frame) 42 Location::Location(Frame* frame)
43 : DOMWindowProperty(frame) 43 : DOMWindowProperty(frame)
44 { 44 {
45 ScriptWrappable::init(this); 45 ScriptWrappable::init(this);
46 } 46 }
47 47
48 inline const KURL& Location::url() const 48 inline const KURL& Location::url() const
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 { 266 {
267 ASSERT(m_frame); 267 ASSERT(m_frame);
268 // We call findFrameForNavigation to handle the case of a seamless iframe co rrectly. 268 // We call findFrameForNavigation to handle the case of a seamless iframe co rrectly.
269 Frame* frame = m_frame->loader()->findFrameForNavigation(String(), activeWin dow->document()); 269 Frame* frame = m_frame->loader()->findFrameForNavigation(String(), activeWin dow->document());
270 if (!frame) 270 if (!frame)
271 return; 271 return;
272 frame->document()->domWindow()->setLocation(url, activeWindow, firstWindow); 272 frame->document()->domWindow()->setLocation(url, activeWindow, firstWindow);
273 } 273 }
274 274
275 } // namespace WebCore 275 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/History.h ('k') | Source/core/page/MouseEventWithHitTestResults.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698