| 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/RefCounted.h" | 10 #include "wtf/RefCounted.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE; | 25 virtual WebRemoteFrame* toWebRemoteFrame() OVERRIDE; |
| 26 virtual void close() OVERRIDE; | 26 virtual void close() OVERRIDE; |
| 27 virtual WebString uniqueName() const OVERRIDE; | 27 virtual WebString uniqueName() const OVERRIDE; |
| 28 virtual WebString assignedName() const OVERRIDE; | 28 virtual WebString assignedName() const OVERRIDE; |
| 29 virtual void setName(const WebString&) OVERRIDE; | 29 virtual void setName(const WebString&) OVERRIDE; |
| 30 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; | 30 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const OVERRIDE; |
| 31 virtual void setIsRemote(bool) OVERRIDE; | 31 virtual void setIsRemote(bool) OVERRIDE; |
| 32 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; | 32 virtual void setRemoteWebLayer(WebLayer*) OVERRIDE; |
| 33 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; | 33 virtual void setPermissionClient(WebPermissionClient*) OVERRIDE; |
| 34 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; | 34 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient
*) OVERRIDE; |
| 35 virtual WebColor brandColor() const OVERRIDE; |
| 35 virtual void setCanHaveScrollbars(bool) OVERRIDE; | 36 virtual void setCanHaveScrollbars(bool) OVERRIDE; |
| 36 virtual WebSize scrollOffset() const OVERRIDE; | 37 virtual WebSize scrollOffset() const OVERRIDE; |
| 37 virtual void setScrollOffset(const WebSize&) OVERRIDE; | 38 virtual void setScrollOffset(const WebSize&) OVERRIDE; |
| 38 virtual WebSize minimumScrollOffset() const OVERRIDE; | 39 virtual WebSize minimumScrollOffset() const OVERRIDE; |
| 39 virtual WebSize maximumScrollOffset() const OVERRIDE; | 40 virtual WebSize maximumScrollOffset() const OVERRIDE; |
| 40 virtual WebSize contentsSize() const OVERRIDE; | 41 virtual WebSize contentsSize() const OVERRIDE; |
| 41 virtual bool hasVisibleContent() const OVERRIDE; | 42 virtual bool hasVisibleContent() const OVERRIDE; |
| 42 virtual WebRect visibleContentRect() const OVERRIDE; | 43 virtual WebRect visibleContentRect() const OVERRIDE; |
| 43 virtual bool hasHorizontalScrollbar() const OVERRIDE; | 44 virtual bool hasHorizontalScrollbar() const OVERRIDE; |
| 44 virtual bool hasVerticalScrollbar() const OVERRIDE; | 45 virtual bool hasVerticalScrollbar() const OVERRIDE; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 RemoteFrameClient m_frameClient; | 177 RemoteFrameClient m_frameClient; |
| 177 RefPtr<WebCore::RemoteFrame> m_frame; | 178 RefPtr<WebCore::RemoteFrame> m_frame; |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); | 181 DEFINE_TYPE_CASTS(WebRemoteFrameImpl, WebFrame, frame, frame->isWebRemoteFrame()
, frame.isWebRemoteFrame()); |
| 181 | 182 |
| 182 | 183 |
| 183 } // namespace blink | 184 } // namespace blink |
| 184 | 185 |
| 185 #endif // WebRemoteFrameImpl_h | 186 #endif // WebRemoteFrameImpl_h |
| OLD | NEW |