OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 23 matching lines...) Expand all Loading... |
34 #include "../platform/WebCommon.h" | 34 #include "../platform/WebCommon.h" |
35 #include "../platform/WebDragOperation.h" | 35 #include "../platform/WebDragOperation.h" |
36 #include "../platform/WebPageVisibilityState.h" | 36 #include "../platform/WebPageVisibilityState.h" |
37 #include "public/web/WebWidget.h" | 37 #include "public/web/WebWidget.h" |
38 | 38 |
39 namespace blink { | 39 namespace blink { |
40 | 40 |
41 class WebDragData; | 41 class WebDragData; |
42 class WebLocalFrame; | 42 class WebLocalFrame; |
43 class WebInputMethodController; | 43 class WebInputMethodController; |
| 44 class WebTextSuggestionController; |
44 class WebView; | 45 class WebView; |
45 class WebWidgetClient; | 46 class WebWidgetClient; |
46 | 47 |
47 class WebFrameWidget : public WebWidget { | 48 class WebFrameWidget : public WebWidget { |
48 public: | 49 public: |
49 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebLocalFrame*); | 50 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebLocalFrame*); |
50 // Creates a frame widget for a WebView. Temporary helper to help transition | 51 // Creates a frame widget for a WebView. Temporary helper to help transition |
51 // away from WebView inheriting WebWidget. | 52 // away from WebView inheriting WebWidget. |
52 // TODO(dcheng): Remove once transition is complete. | 53 // TODO(dcheng): Remove once transition is complete. |
53 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, | 54 BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 123 |
123 // Constrains the viewport intersection for use by IntersectionObserver. | 124 // Constrains the viewport intersection for use by IntersectionObserver. |
124 // This is needed for out-of-process iframes to know if they are clipped | 125 // This is needed for out-of-process iframes to know if they are clipped |
125 // by ancestor frames in another process. | 126 // by ancestor frames in another process. |
126 virtual void setRemoteViewportIntersection(const WebRect&) {} | 127 virtual void setRemoteViewportIntersection(const WebRect&) {} |
127 }; | 128 }; |
128 | 129 |
129 } // namespace blink | 130 } // namespace blink |
130 | 131 |
131 #endif | 132 #endif |
OLD | NEW |