| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 // Used to update the active selection bounds. | 114 // Used to update the active selection bounds. |
| 115 // If the (empty) selection is an insertion point, |start| and |end| will be
identical with type |Caret|. | 115 // If the (empty) selection is an insertion point, |start| and |end| will be
identical with type |Caret|. |
| 116 // If the (non-empty) selection has mixed RTL/LTR text, |start| and |end| ma
y share the same type, | 116 // If the (non-empty) selection has mixed RTL/LTR text, |start| and |end| ma
y share the same type, |
| 117 // |SelectionLeft| or |SelectionRight|. | 117 // |SelectionLeft| or |SelectionRight|. |
| 118 virtual void registerSelection(const WebSelectionBound& start, const WebSele
ctionBound& end) { } | 118 virtual void registerSelection(const WebSelectionBound& start, const WebSele
ctionBound& end) { } |
| 119 virtual void clearSelection() { } | 119 virtual void clearSelection() { } |
| 120 | 120 |
| 121 // Debugging / dangerous --------------------------------------------- | 121 // Debugging / dangerous --------------------------------------------- |
| 122 | 122 |
| 123 // Toggles the FPS counter in the HUD layer | |
| 124 virtual void setShowFPSCounter(bool) { } | |
| 125 | |
| 126 // Toggles the paint rects in the HUD layer | 123 // Toggles the paint rects in the HUD layer |
| 127 virtual void setShowPaintRects(bool) { } | 124 virtual void setShowPaintRects(bool) { } |
| 128 | 125 |
| 129 // Toggles the debug borders on layers | 126 // Toggles the debug borders on layers |
| 130 virtual void setShowDebugBorders(bool) { } | 127 virtual void setShowDebugBorders(bool) { } |
| 131 | 128 |
| 132 // Toggles continuous painting | 129 // Toggles continuous painting |
| 133 virtual void setContinuousPaintingEnabled(bool) { } | 130 virtual void setContinuousPaintingEnabled(bool) { } |
| 134 | 131 |
| 135 // Toggles scroll bottleneck rects on the HUD layer | 132 // Toggles scroll bottleneck rects on the HUD layer |
| 136 virtual void setShowScrollBottleneckRects(bool) { } | 133 virtual void setShowScrollBottleneckRects(bool) { } |
| 137 }; | 134 }; |
| 138 | 135 |
| 139 } // namespace blink | 136 } // namespace blink |
| 140 | 137 |
| 141 #endif // SKY_ENGINE_PUBLIC_PLATFORM_WEBLAYERTREEVIEW_H_ | 138 #endif // SKY_ENGINE_PUBLIC_PLATFORM_WEBLAYERTREEVIEW_H_ |
| OLD | NEW |