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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 virtual bool selectWordAroundCaret() OVERRIDE; | 177 virtual bool selectWordAroundCaret() OVERRIDE; |
178 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR
IDE; | 178 virtual void selectRange(const WebPoint& base, const WebPoint& extent) OVERR
IDE; |
179 virtual void selectRange(const WebRange&) OVERRIDE; | 179 virtual void selectRange(const WebRange&) OVERRIDE; |
180 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) OVERRIDE; | 180 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent
) OVERRIDE; |
181 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; | 181 virtual void moveCaretSelection(const WebPoint&) OVERRIDE; |
182 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; | 182 virtual bool setEditableSelectionOffsets(int start, int end) OVERRIDE; |
183 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; | 183 virtual bool setCompositionFromExistingText(int compositionStart, int compos
itionEnd, const WebVector<WebCompositionUnderline>& underlines) OVERRIDE; |
184 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; | 184 virtual void extendSelectionAndDelete(int before, int after) OVERRIDE; |
185 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; | 185 virtual void addStyleSheetByURL(const WebString& url) OVERRIDE; |
186 virtual void setCaretVisible(bool) OVERRIDE; | 186 virtual void setCaretVisible(bool) OVERRIDE; |
| 187 virtual WebString textSurroundingSelection(int maxLength, int* startOffset,
int* endOffset) const OVERRIDE; |
187 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; | 188 virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode
) OVERRIDE; |
188 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; | 189 virtual float printPage(int pageToPrint, WebCanvas*) OVERRIDE; |
189 virtual float getPrintPageShrink(int page) OVERRIDE; | 190 virtual float getPrintPageShrink(int page) OVERRIDE; |
190 virtual void printEnd() OVERRIDE; | 191 virtual void printEnd() OVERRIDE; |
191 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; | 192 virtual bool isPrintScalingDisabledForPlugin(const WebNode&) OVERRIDE; |
192 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; | 193 virtual bool hasCustomPageSizeStyle(int pageIndex) OVERRIDE; |
193 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; | 194 virtual bool isPageBoxVisible(int pageIndex) OVERRIDE; |
194 virtual void pageSizeAndMarginsInPixels( | 195 virtual void pageSizeAndMarginsInPixels( |
195 int pageIndex, | 196 int pageIndex, |
196 WebSize& pageSize, | 197 WebSize& pageSize, |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 float m_inputEventsScaleFactorForEmulation; | 355 float m_inputEventsScaleFactorForEmulation; |
355 | 356 |
356 UserMediaClientImpl m_userMediaClientImpl; | 357 UserMediaClientImpl m_userMediaClientImpl; |
357 }; | 358 }; |
358 | 359 |
359 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); | 360 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(),
frame.isWebLocalFrame()); |
360 | 361 |
361 } // namespace blink | 362 } // namespace blink |
362 | 363 |
363 #endif | 364 #endif |
OLD | NEW |