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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 bool selectWordAroundCaret() override; | 172 bool selectWordAroundCaret() override; |
173 void selectRange(const WebPoint& base, const WebPoint& extent) override; | 173 void selectRange(const WebPoint& base, const WebPoint& extent) override; |
174 void selectRange(const WebRange&) override; | 174 void selectRange(const WebRange&) override; |
175 void moveRangeSelectionExtent(const WebPoint&) override; | 175 void moveRangeSelectionExtent(const WebPoint&) override; |
176 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra
me::TextGranularity = CharacterGranularity) override; | 176 void moveRangeSelection(const WebPoint& base, const WebPoint& extent, WebFra
me::TextGranularity = CharacterGranularity) override; |
177 void moveCaretSelection(const WebPoint&) override; | 177 void moveCaretSelection(const WebPoint&) override; |
178 bool setEditableSelectionOffsets(int start, int end) override; | 178 bool setEditableSelectionOffsets(int start, int end) override; |
179 bool setCompositionFromExistingText(int compositionStart, int compositionEnd
, const WebVector<WebCompositionUnderline>& underlines) override; | 179 bool setCompositionFromExistingText(int compositionStart, int compositionEnd
, const WebVector<WebCompositionUnderline>& underlines) override; |
180 void extendSelectionAndDelete(int before, int after) override; | 180 void extendSelectionAndDelete(int before, int after) override; |
181 void setCaretVisible(bool) override; | 181 void setCaretVisible(bool) override; |
182 void clearFocus() override; | |
183 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; | 182 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; |
184 float printPage(int pageToPrint, WebCanvas*) override; | 183 float printPage(int pageToPrint, WebCanvas*) override; |
185 float getPrintPageShrink(int page) override; | 184 float getPrintPageShrink(int page) override; |
186 void printEnd() override; | 185 void printEnd() override; |
187 bool isPrintScalingDisabledForPlugin(const WebNode&) override; | 186 bool isPrintScalingDisabledForPlugin(const WebNode&) override; |
188 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
override; | 187 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
override; |
189 bool hasCustomPageSizeStyle(int pageIndex) override; | 188 bool hasCustomPageSizeStyle(int pageIndex) override; |
190 bool isPageBoxVisible(int pageIndex) override; | 189 bool isPageBoxVisible(int pageIndex) override; |
191 void pageSizeAndMarginsInPixels( | 190 void pageSizeAndMarginsInPixels( |
192 int pageIndex, | 191 int pageIndex, |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 // cleared upon close(). | 402 // cleared upon close(). |
404 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 403 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
405 #endif | 404 #endif |
406 }; | 405 }; |
407 | 406 |
408 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
409 | 408 |
410 } // namespace blink | 409 } // namespace blink |
411 | 410 |
412 #endif | 411 #endif |
OLD | NEW |