| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // Implementation of WebFrame, note that this is a reference counted object. | 57 // Implementation of WebFrame, note that this is a reference counted object. |
| 58 class WebLocalFrameImpl FINAL | 58 class WebLocalFrameImpl FINAL |
| 59 : public WebLocalFrame | 59 : public WebLocalFrame |
| 60 , public RefCounted<WebLocalFrameImpl> { | 60 , public RefCounted<WebLocalFrameImpl> { |
| 61 public: | 61 public: |
| 62 // WebFrame methods: | 62 // WebFrame methods: |
| 63 virtual bool isWebLocalFrame() const override; | 63 virtual bool isWebLocalFrame() const override; |
| 64 virtual WebLocalFrame* toWebLocalFrame() override; | 64 virtual WebLocalFrame* toWebLocalFrame() override; |
| 65 virtual void close() override; | 65 virtual void close() override; |
| 66 virtual WebSize scrollOffset() const override; | 66 virtual WebSize scrollOffset() const override; |
| 67 virtual void setScrollOffset(const WebSize&) override; | |
| 68 virtual WebSize minimumScrollOffset() const override; | 67 virtual WebSize minimumScrollOffset() const override; |
| 69 virtual WebSize maximumScrollOffset() const override; | 68 virtual WebSize maximumScrollOffset() const override; |
| 70 virtual WebSize contentsSize() const override; | 69 virtual WebSize contentsSize() const override; |
| 71 virtual bool hasVisibleContent() const override; | 70 virtual bool hasVisibleContent() const override; |
| 72 virtual WebRect visibleContentRect() const override; | 71 virtual WebRect visibleContentRect() const override; |
| 73 virtual bool hasHorizontalScrollbar() const override; | 72 virtual bool hasHorizontalScrollbar() const override; |
| 74 virtual bool hasVerticalScrollbar() const override; | 73 virtual bool hasVerticalScrollbar() const override; |
| 75 virtual WebView* view() const override; | 74 virtual WebView* view() const override; |
| 76 virtual WebDocument document() const override; | 75 virtual WebDocument document() const override; |
| 77 virtual WebPerformance performance() const override; | 76 virtual WebPerformance performance() const override; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 189 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 191 IntSize m_inputEventsOffsetForEmulation; | 190 IntSize m_inputEventsOffsetForEmulation; |
| 192 float m_inputEventsScaleFactorForEmulation; | 191 float m_inputEventsScaleFactorForEmulation; |
| 193 }; | 192 }; |
| 194 | 193 |
| 195 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 194 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 196 | 195 |
| 197 } // namespace blink | 196 } // namespace blink |
| 198 | 197 |
| 199 #endif | 198 #endif |
| OLD | NEW |