| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #include "public/platform/WebBrowserControlsState.h" | 34 #include "public/platform/WebBrowserControlsState.h" |
| 35 #include "public/platform/WebCanvas.h" | 35 #include "public/platform/WebCanvas.h" |
| 36 #include "public/platform/WebCommon.h" | 36 #include "public/platform/WebCommon.h" |
| 37 #include "public/platform/WebFloatSize.h" | 37 #include "public/platform/WebFloatSize.h" |
| 38 #include "public/platform/WebInputEventResult.h" | 38 #include "public/platform/WebInputEventResult.h" |
| 39 #include "public/platform/WebPoint.h" | 39 #include "public/platform/WebPoint.h" |
| 40 #include "public/platform/WebRect.h" | 40 #include "public/platform/WebRect.h" |
| 41 #include "public/platform/WebSize.h" | 41 #include "public/platform/WebSize.h" |
| 42 #include "public/platform/WebTextInputInfo.h" | 42 #include "public/platform/WebTextInputInfo.h" |
| 43 #include "WebCompositionUnderline.h" | 43 #include "public/web/WebCompositionUnderline.h" |
| 44 #include "WebRange.h" | 44 #include "public/web/WebMenuSourceType.h" |
| 45 #include "WebTextDirection.h" | 45 #include "public/web/WebRange.h" |
| 46 #include "public/web/WebTextDirection.h" |
| 46 | 47 |
| 47 namespace blink { | 48 namespace blink { |
| 48 | 49 |
| 49 class WebCompositeAndReadbackAsyncCallback; | 50 class WebCompositeAndReadbackAsyncCallback; |
| 50 class WebCoalescedInputEvent; | 51 class WebCoalescedInputEvent; |
| 51 class WebLayoutAndPaintAsyncCallback; | 52 class WebLayoutAndPaintAsyncCallback; |
| 52 class WebPagePopup; | 53 class WebPagePopup; |
| 53 struct WebPoint; | 54 struct WebPoint; |
| 54 template <typename T> | 55 template <typename T> |
| 55 class WebVector; | 56 class WebVector; |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 WebBrowserControlsState current, | 218 WebBrowserControlsState current, |
| 218 bool animate) {} | 219 bool animate) {} |
| 219 | 220 |
| 220 // Populate |bounds| with the composition character bounds for the ongoing | 221 // Populate |bounds| with the composition character bounds for the ongoing |
| 221 // composition. Returns false if there is no focused input or any ongoing | 222 // composition. Returns false if there is no focused input or any ongoing |
| 222 // composition. | 223 // composition. |
| 223 virtual bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) { | 224 virtual bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) { |
| 224 return false; | 225 return false; |
| 225 } | 226 } |
| 226 | 227 |
| 228 // Called by client to request showing the context menu. |
| 229 virtual void ShowContextMenu(WebMenuSourceType) {} |
| 230 |
| 227 protected: | 231 protected: |
| 228 ~WebWidget() {} | 232 ~WebWidget() {} |
| 229 }; | 233 }; |
| 230 | 234 |
| 231 } // namespace blink | 235 } // namespace blink |
| 232 | 236 |
| 233 #endif | 237 #endif |
| OLD | NEW |