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 "core/frame/Settings.h" |
10 #include "core/page/Page.h" | 11 #include "core/page/Page.h" |
11 #include "public/platform/WebFloatRect.h" | 12 #include "public/platform/WebFloatRect.h" |
12 #include "public/platform/WebRect.h" | 13 #include "public/platform/WebRect.h" |
13 #include "public/web/WebDocument.h" | 14 #include "public/web/WebDocument.h" |
14 #include "public/web/WebPerformance.h" | 15 #include "public/web/WebPerformance.h" |
15 #include "public/web/WebRange.h" | 16 #include "public/web/WebRange.h" |
16 #include "web/WebLocalFrameImpl.h" | 17 #include "web/WebLocalFrameImpl.h" |
17 #include "web/WebViewImpl.h" | 18 #include "web/WebViewImpl.h" |
18 #include <v8/include/v8.h> | 19 #include <v8/include/v8.h> |
19 | 20 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 void WebRemoteFrameImpl::setPermissionClient(WebPermissionClient*) | 173 void WebRemoteFrameImpl::setPermissionClient(WebPermissionClient*) |
173 { | 174 { |
174 ASSERT_NOT_REACHED(); | 175 ASSERT_NOT_REACHED(); |
175 } | 176 } |
176 | 177 |
177 void WebRemoteFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerReposito
ryClient*) | 178 void WebRemoteFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerReposito
ryClient*) |
178 { | 179 { |
179 ASSERT_NOT_REACHED(); | 180 ASSERT_NOT_REACHED(); |
180 } | 181 } |
181 | 182 |
| 183 void WebRemoteFrameImpl::setAccessibilityEnabled(bool enabled) |
| 184 { |
| 185 ASSERT_NOT_REACHED(); |
| 186 } |
| 187 |
| 188 void WebRemoteFrameImpl::setInlineTextBoxAccessibilityEnabled(bool enabled) |
| 189 { |
| 190 ASSERT_NOT_REACHED(); |
| 191 } |
| 192 |
182 void WebRemoteFrameImpl::setCanHaveScrollbars(bool) | 193 void WebRemoteFrameImpl::setCanHaveScrollbars(bool) |
183 { | 194 { |
184 ASSERT_NOT_REACHED(); | 195 ASSERT_NOT_REACHED(); |
185 } | 196 } |
186 | 197 |
187 WebSize WebRemoteFrameImpl::scrollOffset() const | 198 WebSize WebRemoteFrameImpl::scrollOffset() const |
188 { | 199 { |
189 ASSERT_NOT_REACHED(); | 200 ASSERT_NOT_REACHED(); |
190 return WebSize(); | 201 return WebSize(); |
191 } | 202 } |
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 | 841 |
831 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) | 842 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) |
832 { | 843 { |
833 if (!frame.client()) | 844 if (!frame.client()) |
834 return 0; | 845 return 0; |
835 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); | 846 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); |
836 } | 847 } |
837 | 848 |
838 } // namespace blink | 849 } // namespace blink |
839 | 850 |
OLD | NEW |