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

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

Issue 879423003: Move Location to DOMWindow (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: resetLocation call to Frame::detach Created 5 years, 10 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
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"
11 #include "core/css/MediaQueryList.h" 11 #include "core/css/MediaQueryList.h"
12 #include "core/frame/Location.h"
dcheng 2015/02/10 23:02:18 It's not clear to me why we need this include.
Nate Chapin 2015/02/10 23:30:18 Because I had omitted it in DOMWindow.h, will add
12 13
13 namespace blink { 14 namespace blink {
14 15
15 const AtomicString& RemoteDOMWindow::interfaceName() const 16 const AtomicString& RemoteDOMWindow::interfaceName() const
16 { 17 {
17 return emptyAtom; 18 return emptyAtom;
18 } 19 }
19 20
20 ExecutionContext* RemoteDOMWindow::executionContext() const 21 ExecutionContext* RemoteDOMWindow::executionContext() const
21 { 22 {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 ASSERT_NOT_REACHED(); 81 ASSERT_NOT_REACHED();
81 return nullptr; 82 return nullptr;
82 } 83 }
83 84
84 Navigator* RemoteDOMWindow::navigator() const 85 Navigator* RemoteDOMWindow::navigator() const
85 { 86 {
86 ASSERT_NOT_REACHED(); 87 ASSERT_NOT_REACHED();
87 return nullptr; 88 return nullptr;
88 } 89 }
89 90
90 Location* RemoteDOMWindow::location() const
91 {
92 // FIXME: Implement.
93 return nullptr;
94 }
95
96 bool RemoteDOMWindow::offscreenBuffering() const 91 bool RemoteDOMWindow::offscreenBuffering() const
97 { 92 {
98 ASSERT_NOT_REACHED(); 93 ASSERT_NOT_REACHED();
99 return false; 94 return false;
100 } 95 }
101 96
102 int RemoteDOMWindow::outerHeight() const 97 int RemoteDOMWindow::outerHeight() const
103 { 98 {
104 ASSERT_NOT_REACHED(); 99 ASSERT_NOT_REACHED();
105 return 0; 100 return 0;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 { 365 {
371 return String(); 366 return String();
372 } 367 }
373 368
374 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame) 369 RemoteDOMWindow::RemoteDOMWindow(RemoteFrame& frame)
375 : m_frame(&frame) 370 : m_frame(&frame)
376 { 371 {
377 } 372 }
378 373
379 } // namespace blink 374 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698