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

Side by Side Diff: sky/engine/core/frame/History.cpp

Issue 706123005: Remove nop ScriptWrappable::init calls (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/frame/Console.cpp ('k') | sky/engine/core/frame/ImageBitmap.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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 #include "core/page/Page.h" 33 #include "core/page/Page.h"
34 #include "platform/weborigin/KURL.h" 34 #include "platform/weborigin/KURL.h"
35 #include "wtf/MainThread.h" 35 #include "wtf/MainThread.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 History::History(LocalFrame* frame) 39 History::History(LocalFrame* frame)
40 : DOMWindowProperty(frame) 40 : DOMWindowProperty(frame)
41 , m_lastStateObjectRequested(nullptr) 41 , m_lastStateObjectRequested(nullptr)
42 { 42 {
43 ScriptWrappable::init(this);
44 } 43 }
45 44
46 unsigned History::length() const 45 unsigned History::length() const
47 { 46 {
48 // FIXME(sky): remove 47 // FIXME(sky): remove
49 return 0; 48 return 0;
50 } 49 }
51 50
52 SerializedScriptValue* History::state() 51 SerializedScriptValue* History::state()
53 { 52 {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 return document->url(); 94 return document->url();
96 return KURL(document->url(), urlString); 95 return KURL(document->url(), urlString);
97 } 96 }
98 97
99 void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data, const Str ing& /* title */, const String& urlString, FrameLoadType type, ExceptionState& e xceptionState) 98 void History::stateObjectAdded(PassRefPtr<SerializedScriptValue> data, const Str ing& /* title */, const String& urlString, FrameLoadType type, ExceptionState& e xceptionState)
100 { 99 {
101 // FIXME(sky): re-implement. 100 // FIXME(sky): re-implement.
102 } 101 }
103 102
104 } // namespace blink 103 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Console.cpp ('k') | sky/engine/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698