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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 bool isAcceleratedCompositingActive() const override; | 113 bool isAcceleratedCompositingActive() const override; |
114 void willCloseLayerTreeView() override; | 114 void willCloseLayerTreeView() override; |
115 void didChangeWindowResizerRect() override; | 115 void didChangeWindowResizerRect() override; |
116 void didAcquirePointerLock() override; | 116 void didAcquirePointerLock() override; |
117 void didNotAcquirePointerLock() override; | 117 void didNotAcquirePointerLock() override; |
118 void didLosePointerLock() override; | 118 void didLosePointerLock() override; |
119 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | 119 bool getCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
120 void applyReplacementRange(int start, int length) override; | 120 void applyReplacementRange(int start, int length) override; |
121 | 121 |
122 // WebFrameWidget implementation. | 122 // WebFrameWidget implementation. |
| 123 WebLocalFrameImpl* localRoot() override { return m_localRoot; } |
123 void setVisibilityState(WebPageVisibilityState) override; | 124 void setVisibilityState(WebPageVisibilityState) override; |
124 bool isTransparent() const override; | 125 bool isTransparent() const override; |
125 void setIsTransparent(bool) override; | 126 void setIsTransparent(bool) override; |
126 void setBaseBackgroundColor(WebColor) override; | 127 void setBaseBackgroundColor(WebColor) override; |
127 | 128 |
128 Frame* focusedCoreFrame() const; | 129 Frame* focusedCoreFrame() const; |
129 | 130 |
130 // Returns the currently focused Element or null if no element has focus. | 131 // Returns the currently focused Element or null if no element has focus. |
131 Element* focusedElement() const; | 132 Element* focusedElement() const; |
132 | 133 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 WebColor m_baseBackgroundColor; | 254 WebColor m_baseBackgroundColor; |
254 | 255 |
255 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 256 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
256 }; | 257 }; |
257 | 258 |
258 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); | 259 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidgetBase, widget, widget->forSub
frame(), widget.forSubframe()); |
259 | 260 |
260 } // namespace blink | 261 } // namespace blink |
261 | 262 |
262 #endif | 263 #endif |
OLD | NEW |