| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 virtual void extendSelectionAndDelete(int before, int after) override; | 120 virtual void extendSelectionAndDelete(int before, int after) override; |
| 121 virtual void setCaretVisible(bool) override; | 121 virtual void setCaretVisible(bool) override; |
| 122 | 122 |
| 123 virtual WebString contentAsText(size_t maxChars) const override; | 123 virtual WebString contentAsText(size_t maxChars) const override; |
| 124 virtual WebString contentAsMarkup() const override; | 124 virtual WebString contentAsMarkup() const override; |
| 125 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; | 125 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; |
| 126 virtual WebString markerTextForListItem(const WebElement&) const override; | 126 virtual WebString markerTextForListItem(const WebElement&) const override; |
| 127 virtual WebRect selectionBoundsRect() const override; | 127 virtual WebRect selectionBoundsRect() const override; |
| 128 | 128 |
| 129 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; | 129 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; |
| 130 virtual WebString layerTreeAsText(bool showDebugInfo = false) const override
; | |
| 131 | 130 |
| 132 static WebLocalFrameImpl* create(WebFrameClient*); | 131 static WebLocalFrameImpl* create(WebFrameClient*); |
| 133 virtual ~WebLocalFrameImpl(); | 132 virtual ~WebLocalFrameImpl(); |
| 134 | 133 |
| 135 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*); | 134 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*); |
| 136 | 135 |
| 137 void createFrameView(); | 136 void createFrameView(); |
| 138 | 137 |
| 139 static WebLocalFrameImpl* fromFrame(LocalFrame*); | 138 static WebLocalFrameImpl* fromFrame(LocalFrame*); |
| 140 static WebLocalFrameImpl* fromFrame(LocalFrame&); | 139 static WebLocalFrameImpl* fromFrame(LocalFrame&); |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 178 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 180 IntSize m_inputEventsOffsetForEmulation; | 179 IntSize m_inputEventsOffsetForEmulation; |
| 181 float m_inputEventsScaleFactorForEmulation; | 180 float m_inputEventsScaleFactorForEmulation; |
| 182 }; | 181 }; |
| 183 | 182 |
| 184 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 183 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 185 | 184 |
| 186 } // namespace blink | 185 } // namespace blink |
| 187 | 186 |
| 188 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ | 187 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ |
| OLD | NEW |