OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 // PageWidgetEventHandler functions | 96 // PageWidgetEventHandler functions |
97 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; | 97 WebInputEventResult HandleCharEvent(const WebKeyboardEvent&) override; |
98 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; | 98 WebInputEventResult HandleGestureEvent(const WebGestureEvent&) override; |
99 void HandleMouseDown(LocalFrame& main_frame, const WebMouseEvent&) override; | 99 void HandleMouseDown(LocalFrame& main_frame, const WebMouseEvent&) override; |
100 WebInputEventResult HandleMouseWheel(LocalFrame& main_frame, | 100 WebInputEventResult HandleMouseWheel(LocalFrame& main_frame, |
101 const WebMouseWheelEvent&) override; | 101 const WebMouseWheelEvent&) override; |
102 | 102 |
103 bool IsViewportPointInWindow(int x, int y); | 103 bool IsViewportPointInWindow(int x, int y); |
104 | 104 |
105 // PagePopup function | 105 // PagePopup function |
106 AXObject* RootAXObject() override; | 106 AXObjectImpl* RootAXObject() override; |
107 void SetWindowRect(const IntRect&) override; | 107 void SetWindowRect(const IntRect&) override; |
108 | 108 |
109 explicit WebPagePopupImpl(WebWidgetClient*); | 109 explicit WebPagePopupImpl(WebWidgetClient*); |
110 bool InitializePage(); | 110 bool InitializePage(); |
111 void DestroyPage(); | 111 void DestroyPage(); |
112 void InitializeLayerTreeView(); | 112 void InitializeLayerTreeView(); |
113 void SetRootGraphicsLayer(GraphicsLayer*); | 113 void SetRootGraphicsLayer(GraphicsLayer*); |
114 | 114 |
115 WebRect WindowRectInScreen() const; | 115 WebRect WindowRectInScreen() const; |
116 | 116 |
(...skipping 18 matching lines...) Expand all Loading... |
135 WebWidget, | 135 WebWidget, |
136 widget, | 136 widget, |
137 widget->IsPagePopup(), | 137 widget->IsPagePopup(), |
138 widget.IsPagePopup()); | 138 widget.IsPagePopup()); |
139 // WebPagePopupImpl is the only implementation of PagePopup, so no | 139 // WebPagePopupImpl is the only implementation of PagePopup, so no |
140 // further checking required. | 140 // further checking required. |
141 DEFINE_TYPE_CASTS(WebPagePopupImpl, PagePopup, popup, true, true); | 141 DEFINE_TYPE_CASTS(WebPagePopupImpl, PagePopup, popup, true, true); |
142 | 142 |
143 } // namespace blink | 143 } // namespace blink |
144 #endif // WebPagePopupImpl_h | 144 #endif // WebPagePopupImpl_h |
OLD | NEW |