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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; | 103 bool SelectionBounds(WebRect& anchor, WebRect& focus) const override; |
104 bool SelectionTextDirection(WebTextDirection& start, | 104 bool SelectionTextDirection(WebTextDirection& start, |
105 WebTextDirection& end) const override; | 105 WebTextDirection& end) const override; |
106 bool IsSelectionAnchorFirst() const override; | 106 bool IsSelectionAnchorFirst() const override; |
107 WebRange CaretOrSelectionRange() override; | 107 WebRange CaretOrSelectionRange() override; |
108 void SetTextDirection(WebTextDirection) override; | 108 void SetTextDirection(WebTextDirection) override; |
109 bool IsAcceleratedCompositingActive() const override; | 109 bool IsAcceleratedCompositingActive() const override; |
110 void WillCloseLayerTreeView() override; | 110 void WillCloseLayerTreeView() override; |
111 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; | 111 bool GetCompositionCharacterBounds(WebVector<WebRect>& bounds) override; |
112 void SetRemoteViewportIntersection(const WebRect&) override; | 112 void SetRemoteViewportIntersection(const WebRect&) override; |
| 113 void SetIsInert(bool) override; |
113 | 114 |
114 // WebFrameWidget implementation. | 115 // WebFrameWidget implementation. |
115 WebLocalFrameImpl* LocalRoot() const override { return local_root_; } | 116 WebLocalFrameImpl* LocalRoot() const override { return local_root_; } |
116 void SetVisibilityState(WebPageVisibilityState) override; | 117 void SetVisibilityState(WebPageVisibilityState) override; |
117 void SetBackgroundColorOverride(WebColor) override; | 118 void SetBackgroundColorOverride(WebColor) override; |
118 void ClearBackgroundColorOverride() override; | 119 void ClearBackgroundColorOverride() override; |
119 void SetBaseBackgroundColorOverride(WebColor) override; | 120 void SetBaseBackgroundColorOverride(WebColor) override; |
120 void ClearBaseBackgroundColorOverride() override; | 121 void ClearBaseBackgroundColorOverride() override; |
121 void SetBaseBackgroundColor(WebColor) override; | 122 void SetBaseBackgroundColor(WebColor) override; |
122 WebInputMethodControllerImpl* GetActiveWebInputMethodController() | 123 WebInputMethodControllerImpl* GetActiveWebInputMethodController() |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 | 242 |
242 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, | 243 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, |
243 WebFrameWidgetBase, | 244 WebFrameWidgetBase, |
244 widget, | 245 widget, |
245 widget->ForSubframe(), | 246 widget->ForSubframe(), |
246 widget.ForSubframe()); | 247 widget.ForSubframe()); |
247 | 248 |
248 } // namespace blink | 249 } // namespace blink |
249 | 250 |
250 #endif | 251 #endif |
OLD | NEW |