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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 WebString selectionAsMarkup() const override; | 160 WebString selectionAsMarkup() const override; |
161 bool selectWordAroundCaret() override; | 161 bool selectWordAroundCaret() override; |
162 void selectRange(const WebPoint& base, const WebPoint& extent) override; | 162 void selectRange(const WebPoint& base, const WebPoint& extent) override; |
163 void selectRange(const WebRange&) override; | 163 void selectRange(const WebRange&) override; |
164 void moveRangeSelectionExtent(const WebPoint&) override; | 164 void moveRangeSelectionExtent(const WebPoint&) override; |
165 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra
me::TextGranularity = CharacterGranularity) override; | 165 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra
me::TextGranularity = CharacterGranularity) override; |
166 void moveCaretSelection(const WebPoint&) override; | 166 void moveCaretSelection(const WebPoint&) override; |
167 bool setEditableSelectionOffsets(int start, int end) override; | 167 bool setEditableSelectionOffsets(int start, int end) override; |
168 bool setCompositionFromExistingText(int compositionStart, int compositionEnd
, const WebVector<WebCompositionUnderline>& underlines) override; | 168 bool setCompositionFromExistingText(int compositionStart, int compositionEnd
, const WebVector<WebCompositionUnderline>& underlines) override; |
169 void extendSelectionAndDelete(int before, int after) override; | 169 void extendSelectionAndDelete(int before, int after) override; |
| 170 void deleteSurroundingText(int before, int after) override; |
170 void setCaretVisible(bool) override; | 171 void setCaretVisible(bool) override; |
171 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; | 172 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; |
172 float printPage(int pageToPrint, WebCanvas*) override; | 173 float printPage(int pageToPrint, WebCanvas*) override; |
173 float getPrintPageShrink(int page) override; | 174 float getPrintPageShrink(int page) override; |
174 void printEnd() override; | 175 void printEnd() override; |
175 bool isPrintScalingDisabledForPlugin(const WebNode&) override; | 176 bool isPrintScalingDisabledForPlugin(const WebNode&) override; |
176 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
override; | 177 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
override; |
177 bool hasCustomPageSizeStyle(int pageIndex) override; | 178 bool hasCustomPageSizeStyle(int pageIndex) override; |
178 bool isPageBoxVisible(int pageIndex) override; | 179 bool isPageBoxVisible(int pageIndex) override; |
179 void pageSizeAndMarginsInPixels( | 180 void pageSizeAndMarginsInPixels( |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 // Accomplish that by keeping a self-referential Persistent<>. It is | 395 // Accomplish that by keeping a self-referential Persistent<>. It is |
395 // cleared upon close(). | 396 // cleared upon close(). |
396 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 397 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
397 }; | 398 }; |
398 | 399 |
399 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 400 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
400 | 401 |
401 } // namespace blink | 402 } // namespace blink |
402 | 403 |
403 #endif | 404 #endif |
OLD | NEW |