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

Side by Side Diff: Source/core/frame/RemoteDOMWindow.cpp

Issue 1176843006: Move window.close implementation to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | « no previous file | Source/core/frame/RemoteFrame.h » ('j') | Source/core/frame/RemoteFrame.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/frame/RemoteDOMWindow.h" 6 #include "core/frame/RemoteDOMWindow.h"
7 7
8 #include "bindings/core/v8/SerializedScriptValue.h" 8 #include "bindings/core/v8/SerializedScriptValue.h"
9 #include "core/css/CSSRuleList.h" 9 #include "core/css/CSSRuleList.h"
10 #include "core/css/CSSStyleDeclaration.h" 10 #include "core/css/CSSStyleDeclaration.h"
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 // FIXME: Implement. 221 // FIXME: Implement.
222 } 222 }
223 223
224 void RemoteDOMWindow::blur() 224 void RemoteDOMWindow::blur()
225 { 225 {
226 // FIXME: Implement. 226 // FIXME: Implement.
227 } 227 }
228 228
229 void RemoteDOMWindow::close(ExecutionContext* override) 229 void RemoteDOMWindow::close(ExecutionContext* override)
230 { 230 {
231 // FIXME: Implement. 231 m_frame->close();
232 } 232 }
233 233
234 void RemoteDOMWindow::print() 234 void RemoteDOMWindow::print()
235 { 235 {
236 ASSERT_NOT_REACHED(); 236 ASSERT_NOT_REACHED();
237 } 237 }
238 238
239 void RemoteDOMWindow::stop() 239 void RemoteDOMWindow::stop()
240 { 240 {
241 // FIXME: Implement. 241 // FIXME: Implement.
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 { 338 {
339 ASSERT_NOT_REACHED(); 339 ASSERT_NOT_REACHED();
340 } 340 }
341 341
342 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 342 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
343 : m_frame(&frame) 343 : m_frame(&frame)
344 { 344 {
345 } 345 }
346 346
347 } // namespace blink 347 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/RemoteFrame.h » ('j') | Source/core/frame/RemoteFrame.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698