| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr
ide; | 114 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr
ide; |
| 115 virtual void selectRange(const WebRange&) override; | 115 virtual void selectRange(const WebRange&) override; |
| 116 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) override; | 116 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) override; |
| 117 virtual void moveCaretSelection(const WebPoint&) override; | 117 virtual void moveCaretSelection(const WebPoint&) override; |
| 118 virtual bool setEditableSelectionOffsets(int start, int end) override; | 118 virtual bool setEditableSelectionOffsets(int start, int end) override; |
| 119 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; | 119 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; |
| 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; | |
| 125 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; | 124 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; |
| 126 virtual WebString markerTextForListItem(const WebElement&) const override; | 125 virtual WebString markerTextForListItem(const WebElement&) const override; |
| 127 virtual WebRect selectionBoundsRect() const override; | 126 virtual WebRect selectionBoundsRect() const override; |
| 128 | 127 |
| 129 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; | 128 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; |
| 130 | 129 |
| 131 static WebLocalFrameImpl* create(WebFrameClient*); | 130 static WebLocalFrameImpl* create(WebFrameClient*); |
| 132 virtual ~WebLocalFrameImpl(); | 131 virtual ~WebLocalFrameImpl(); |
| 133 | 132 |
| 134 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*); | 133 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. | 177 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 179 IntSize m_inputEventsOffsetForEmulation; | 178 IntSize m_inputEventsOffsetForEmulation; |
| 180 float m_inputEventsScaleFactorForEmulation; | 179 float m_inputEventsScaleFactorForEmulation; |
| 181 }; | 180 }; |
| 182 | 181 |
| 183 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 182 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 184 | 183 |
| 185 } // namespace blink | 184 } // namespace blink |
| 186 | 185 |
| 187 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ | 186 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ |
| OLD | NEW |