| 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; | 182 void clearFocus(WebRemoteFrame* newFocusedFrame) override; |
| 183 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; | 183 int printBegin(const WebPrintParams&, const WebNode& constrainToNode) overri
de; |
| 184 float printPage(int pageToPrint, WebCanvas*) override; | 184 float printPage(int pageToPrint, WebCanvas*) override; |
| 185 float getPrintPageShrink(int page) override; | 185 float getPrintPageShrink(int page) override; |
| 186 void printEnd() override; | 186 void printEnd() override; |
| 187 bool isPrintScalingDisabledForPlugin(const WebNode&) override; | 187 bool isPrintScalingDisabledForPlugin(const WebNode&) override; |
| 188 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
override; | 188 bool getPrintPresetOptionsForPlugin(const WebNode&, WebPrintPresetOptions*)
override; |
| 189 bool hasCustomPageSizeStyle(int pageIndex) override; | 189 bool hasCustomPageSizeStyle(int pageIndex) override; |
| 190 bool isPageBoxVisible(int pageIndex) override; | 190 bool isPageBoxVisible(int pageIndex) override; |
| 191 void pageSizeAndMarginsInPixels( | 191 void pageSizeAndMarginsInPixels( |
| 192 int pageIndex, | 192 int pageIndex, |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 402 // cleared upon close(). | 402 // cleared upon close(). |
| 403 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; | 403 SelfKeepAlive<WebLocalFrameImpl> m_selfKeepAlive; |
| 404 #endif | 404 #endif |
| 405 }; | 405 }; |
| 406 | 406 |
| 407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 407 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
| 408 | 408 |
| 409 } // namespace blink | 409 } // namespace blink |
| 410 | 410 |
| 411 #endif | 411 #endif |
| OLD | NEW |