| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 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; | |
| 67 virtual WebSize minimumScrollOffset() const override; | |
| 68 virtual WebSize maximumScrollOffset() const override; | |
| 69 virtual WebSize contentsSize() const override; | 66 virtual WebSize contentsSize() const override; |
| 70 virtual bool hasVisibleContent() const override; | 67 virtual bool hasVisibleContent() const override; |
| 71 virtual WebRect visibleContentRect() const override; | 68 virtual WebRect visibleContentRect() const override; |
| 72 virtual bool hasHorizontalScrollbar() const override; | 69 virtual bool hasHorizontalScrollbar() const override; |
| 73 virtual bool hasVerticalScrollbar() const override; | 70 virtual bool hasVerticalScrollbar() const override; |
| 74 virtual WebView* view() const override; | 71 virtual WebView* view() const override; |
| 75 virtual WebDocument document() const override; | 72 virtual WebDocument document() const override; |
| 76 virtual WebPerformance performance() const override; | 73 virtual WebPerformance performance() const override; |
| 77 virtual void executeScript(const WebScriptSource&) override; | 74 virtual void executeScript(const WebScriptSource&) override; |
| 78 virtual void executeScriptInIsolatedWorld( | 75 virtual void executeScriptInIsolatedWorld( |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 181 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 185 IntSize m_inputEventsOffsetForEmulation; | 182 IntSize m_inputEventsOffsetForEmulation; |
| 186 float m_inputEventsScaleFactorForEmulation; | 183 float m_inputEventsScaleFactorForEmulation; |
| 187 }; | 184 }; |
| 188 | 185 |
| 189 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 186 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 190 | 187 |
| 191 } // namespace blink | 188 } // namespace blink |
| 192 | 189 |
| 193 #endif | 190 #endif |
| OLD | NEW |