| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) override; | 102 virtual bool executeCommand(const WebString&, const WebString& value, const
WebNode& = WebNode()) override; |
| 103 virtual bool isCommandEnabled(const WebString&) const override; | 103 virtual bool isCommandEnabled(const WebString&) const override; |
| 104 virtual void enableContinuousSpellChecking(bool) override; | 104 virtual void enableContinuousSpellChecking(bool) override; |
| 105 virtual bool isContinuousSpellCheckingEnabled() const override; | 105 virtual bool isContinuousSpellCheckingEnabled() const override; |
| 106 virtual void requestTextChecking(const WebElement&) override; | 106 virtual void requestTextChecking(const WebElement&) override; |
| 107 virtual void replaceMisspelledRange(const WebString&) override; | 107 virtual void replaceMisspelledRange(const WebString&) override; |
| 108 virtual void removeSpellingMarkers() override; | 108 virtual void removeSpellingMarkers() override; |
| 109 virtual bool hasSelection() const override; | 109 virtual bool hasSelection() const override; |
| 110 virtual WebRange selectionRange() const override; | 110 virtual WebRange selectionRange() const override; |
| 111 virtual WebString selectionAsText() const override; | 111 virtual WebString selectionAsText() const override; |
| 112 virtual WebString selectionAsMarkup() const override; | |
| 113 virtual bool selectWordAroundCaret() override; | 112 virtual bool selectWordAroundCaret() override; |
| 114 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr
ide; | 113 virtual void selectRange(const WebPoint& base, const WebPoint& extent) overr
ide; |
| 115 virtual void selectRange(const WebRange&) override; | 114 virtual void selectRange(const WebRange&) override; |
| 116 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) override; | 115 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) override; |
| 117 virtual void moveCaretSelection(const WebPoint&) override; | 116 virtual void moveCaretSelection(const WebPoint&) override; |
| 118 virtual bool setEditableSelectionOffsets(int start, int end) override; | 117 virtual bool setEditableSelectionOffsets(int start, int end) override; |
| 119 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; | 118 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; |
| 120 virtual void extendSelectionAndDelete(int before, int after) override; | 119 virtual void extendSelectionAndDelete(int before, int after) override; |
| 121 virtual void setCaretVisible(bool) override; | 120 virtual void setCaretVisible(bool) override; |
| 122 | 121 |
| 123 virtual WebString contentAsText(size_t maxChars) const override; | 122 virtual WebString contentAsText(size_t maxChars) const override; |
| 124 virtual WebString contentAsMarkup() const override; | |
| 125 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; | 123 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex
tNormal) const override; |
| 126 virtual WebString markerTextForListItem(const WebElement&) const override; | 124 virtual WebString markerTextForListItem(const WebElement&) const override; |
| 127 virtual WebRect selectionBoundsRect() const override; | 125 virtual WebRect selectionBoundsRect() const override; |
| 128 | 126 |
| 129 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; | 127 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const
override; |
| 130 | 128 |
| 131 static WebLocalFrameImpl* create(WebFrameClient*); | 129 static WebLocalFrameImpl* create(WebFrameClient*); |
| 132 virtual ~WebLocalFrameImpl(); | 130 virtual ~WebLocalFrameImpl(); |
| 133 | 131 |
| 134 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*); | 132 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. | 176 // Stores the additional input events offset and scale when device metrics e
mulation is enabled. |
| 179 IntSize m_inputEventsOffsetForEmulation; | 177 IntSize m_inputEventsOffsetForEmulation; |
| 180 float m_inputEventsScaleFactorForEmulation; | 178 float m_inputEventsScaleFactorForEmulation; |
| 181 }; | 179 }; |
| 182 | 180 |
| 183 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 181 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 184 | 182 |
| 185 } // namespace blink | 183 } // namespace blink |
| 186 | 184 |
| 187 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ | 185 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ |
| OLD | NEW |