OLD | NEW |
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 "web/WebRemoteFrameImpl.h" | 6 #include "web/WebRemoteFrameImpl.h" |
7 | 7 |
8 #include "core/frame/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
9 #include "core/frame/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
10 #include "public/platform/WebFloatRect.h" | 10 #include "public/platform/WebFloatRect.h" |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 } | 240 } |
241 | 241 |
242 void WebRemoteFrameImpl::removeChild(WebFrame* frame) | 242 void WebRemoteFrameImpl::removeChild(WebFrame* frame) |
243 { | 243 { |
244 WebFrame::removeChild(frame); | 244 WebFrame::removeChild(frame); |
245 m_ownersForChildren.remove(frame); | 245 m_ownersForChildren.remove(frame); |
246 } | 246 } |
247 | 247 |
248 WebDocument WebRemoteFrameImpl::document() const | 248 WebDocument WebRemoteFrameImpl::document() const |
249 { | 249 { |
250 ASSERT_NOT_REACHED(); | 250 //ASSERT_NOT_REACHED(); |
251 return WebDocument(); | 251 return WebDocument(); |
252 } | 252 } |
253 | 253 |
254 WebPerformance WebRemoteFrameImpl::performance() const | 254 WebPerformance WebRemoteFrameImpl::performance() const |
255 { | 255 { |
256 ASSERT_NOT_REACHED(); | 256 ASSERT_NOT_REACHED(); |
257 return WebPerformance(); | 257 return WebPerformance(); |
258 } | 258 } |
259 | 259 |
260 bool WebRemoteFrameImpl::dispatchBeforeUnloadEvent() | 260 bool WebRemoteFrameImpl::dispatchBeforeUnloadEvent() |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 } | 499 } |
500 | 500 |
501 bool WebRemoteFrameImpl::isCommandEnabled(const WebString&) const | 501 bool WebRemoteFrameImpl::isCommandEnabled(const WebString&) const |
502 { | 502 { |
503 ASSERT_NOT_REACHED(); | 503 ASSERT_NOT_REACHED(); |
504 return false; | 504 return false; |
505 } | 505 } |
506 | 506 |
507 void WebRemoteFrameImpl::enableContinuousSpellChecking(bool) | 507 void WebRemoteFrameImpl::enableContinuousSpellChecking(bool) |
508 { | 508 { |
509 ASSERT_NOT_REACHED(); | 509 //ASSERT_NOT_REACHED(); |
510 } | 510 } |
511 | 511 |
512 bool WebRemoteFrameImpl::isContinuousSpellCheckingEnabled() const | 512 bool WebRemoteFrameImpl::isContinuousSpellCheckingEnabled() const |
513 { | 513 { |
514 ASSERT_NOT_REACHED(); | 514 //ASSERT_NOT_REACHED(); |
515 return false; | 515 return false; |
516 } | 516 } |
517 | 517 |
518 void WebRemoteFrameImpl::requestTextChecking(const WebElement&) | 518 void WebRemoteFrameImpl::requestTextChecking(const WebElement&) |
519 { | 519 { |
520 ASSERT_NOT_REACHED(); | 520 ASSERT_NOT_REACHED(); |
521 } | 521 } |
522 | 522 |
523 void WebRemoteFrameImpl::replaceMisspelledRange(const WebString&) | 523 void WebRemoteFrameImpl::replaceMisspelledRange(const WebString&) |
524 { | 524 { |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 | 823 |
824 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) | 824 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) |
825 { | 825 { |
826 if (!frame.client()) | 826 if (!frame.client()) |
827 return 0; | 827 return 0; |
828 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); | 828 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); |
829 } | 829 } |
830 | 830 |
831 } // namespace blink | 831 } // namespace blink |
832 | 832 |
OLD | NEW |