OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. | 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 void SetParent(FrameView*) override; | 77 void SetParent(FrameView*) override; |
78 FrameView* Parent() const override { return parent_; }; | 78 FrameView* Parent() const override { return parent_; }; |
79 void SetParentVisible(bool) override; | 79 void SetParentVisible(bool) override; |
80 WebLayer* PlatformLayer() const override; | 80 WebLayer* PlatformLayer() const override; |
81 v8::Local<v8::Object> ScriptableObject(v8::Isolate*) override; | 81 v8::Local<v8::Object> ScriptableObject(v8::Isolate*) override; |
82 bool SupportsKeyboardFocus() const override; | 82 bool SupportsKeyboardFocus() const override; |
83 bool SupportsInputMethod() const override; | 83 bool SupportsInputMethod() const override; |
84 bool CanProcessDrag() const override; | 84 bool CanProcessDrag() const override; |
85 bool WantsWheelEvents() override; | 85 bool WantsWheelEvents() override; |
86 void UpdateAllLifecyclePhases() override; | 86 void UpdateAllLifecyclePhases() override; |
87 void InvalidatePaintIfNeeded() override { IssuePaintInvalidations(); } | 87 void InvalidatePaint() override { IssuePaintInvalidations(); } |
88 void InvalidateRect(const IntRect&); | 88 void InvalidateRect(const IntRect&); |
89 void SetFocused(bool, WebFocusType) override; | 89 void SetFocused(bool, WebFocusType) override; |
90 void HandleEvent(Event*) override; | 90 void HandleEvent(Event*) override; |
91 void FrameRectsChanged() override; | 91 void FrameRectsChanged() override; |
92 void GeometryMayHaveChanged() override; | 92 void GeometryMayHaveChanged() override; |
93 bool IsPluginContainer() const override { return true; } | 93 bool IsPluginContainer() const override { return true; } |
94 void EventListenersRemoved() override; | 94 void EventListenersRemoved() override; |
95 | 95 |
96 // FrameOrPlugin methods | 96 // FrameOrPlugin methods |
97 void SetFrameRect(const IntRect& frame_rect) override { | 97 void SetFrameRect(const IntRect& frame_rect) override { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 234 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
235 DEFINE_TYPE_CASTS(WebPluginContainerImpl, | 235 DEFINE_TYPE_CASTS(WebPluginContainerImpl, |
236 WebPluginContainer, | 236 WebPluginContainer, |
237 container, | 237 container, |
238 true, | 238 true, |
239 true); | 239 true); |
240 | 240 |
241 } // namespace blink | 241 } // namespace blink |
242 | 242 |
243 #endif | 243 #endif |
OLD | NEW |