| 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 #ifndef WebRemoteFrameImpl_h | 5 #ifndef WebRemoteFrameImpl_h |
| 6 #define WebRemoteFrameImpl_h | 6 #define WebRemoteFrameImpl_h |
| 7 | 7 |
| 8 #include "public/web/WebRemoteFrame.h" | 8 #include "public/web/WebRemoteFrame.h" |
| 9 #include "web/RemoteFrameClient.h" | 9 #include "web/RemoteFrameClient.h" |
| 10 #include "wtf/HashMap.h" | 10 #include "wtf/HashMap.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE; | 29 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE; |
| 30 virtual void close() OVERRIDE; | 30 virtual void close() OVERRIDE; |
| 31 virtual WebString uniqueName() const OVERRIDE; | 31 virtual WebString uniqueName() const OVERRIDE; |
| 32 virtual WebString assignedName() const OVERRIDE; | 32 virtual WebString assignedName() const OVERRIDE; |
| 33 virtual void setName(const WebString&) OVERRIDE; | 33 virtual void setName(const WebString&) OVERRIDE; |
| 34 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; | 34 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; |
| 35 virtual void setIsRemote(bool) OVERRIDE; | 35 virtual void setIsRemote(bool) OVERRIDE; |
| 36 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; | 36 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; |
| 37 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; | 37 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; |
| 38 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; | 38 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; |
| 39 virtual void setAccessibilityEnabled(bool) OVERRIDE; |
| 40 virtual void setInlineTextBoxAccessibilityEnabled(bool) OVERRIDE; |
| 39 virtual void setCanHaveScrollbars(bool) OVERRIDE; | 41 virtual void setCanHaveScrollbars(bool) OVERRIDE; |
| 40 virtual WebSize scrollOffset() const OVERRIDE; | 42 virtual WebSize scrollOffset() const OVERRIDE; |
| 41 virtual void setScrollOffset(const WebSize&) OVERRIDE; | 43 virtual void setScrollOffset(const WebSize&) OVERRIDE; |
| 42 virtual WebSize minimumScrollOffset() const OVERRIDE; | 44 virtual WebSize minimumScrollOffset() const OVERRIDE; |
| 43 virtual WebSize maximumScrollOffset() const OVERRIDE; | 45 virtual WebSize maximumScrollOffset() const OVERRIDE; |
| 44 virtual WebSize contentsSize() const OVERRIDE; | 46 virtual WebSize contentsSize() const OVERRIDE; |
| 45 virtual bool hasVisibleContent() const OVERRIDE; | 47 virtual bool hasVisibleContent() const OVERRIDE; |
| 46 virtual WebRect visibleContentRect() const OVERRIDE; | 48 virtual WebRect visibleContentRect() const OVERRIDE; |
| 47 virtual bool hasHorizontalScrollbar() const OVERRIDE; | 49 virtual bool hasHorizontalScrollbar() const OVERRIDE; |
| 48 virtual bool hasVerticalScrollbar() const OVERRIDE; | 50 virtual bool hasVerticalScrollbar() const OVERRIDE; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 RefPtr<RemoteFrame> m_frame; | 189 RefPtr<RemoteFrame> m_frame; |
| 188 | 190 |
| 189 HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren; | 191 HashMap<WebFrame*, OwnPtr<FrameOwner> > m_ownersForChildren; |
| 190 }; | 192 }; |
| 191 | 193 |
| 192 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 194 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 193 | 195 |
| 194 } // namespace blink | 196 } // namespace blink |
| 195 | 197 |
| 196 #endif // WebRemoteFrameImpl_h | 198 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |