| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 InvalidatePaint() 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 bool IsErrorplaceholder() override; |
| 94 void EventListenersRemoved() override; | 95 void EventListenersRemoved() override; |
| 95 | 96 |
| 96 // FrameOrPlugin methods | 97 // FrameOrPlugin methods |
| 97 void SetFrameRect(const IntRect& frame_rect) override { | 98 void SetFrameRect(const IntRect& frame_rect) override { |
| 98 frame_rect_ = frame_rect; | 99 frame_rect_ = frame_rect; |
| 99 } | 100 } |
| 100 const IntRect& FrameRect() const override { return frame_rect_; } | 101 const IntRect& FrameRect() const override { return frame_rect_; } |
| 101 void Paint(GraphicsContext&, const CullRect&) const override; | 102 void Paint(GraphicsContext&, const CullRect&) const override; |
| 102 void Show() override; | 103 void Show() override; |
| 103 void Hide() override; | 104 void Hide() override; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 // WebPluginContainerImpl is the only subclass of WebPluginContainer. | 235 // WebPluginContainerImpl is the only subclass of WebPluginContainer. |
| 235 DEFINE_TYPE_CASTS(WebPluginContainerImpl, | 236 DEFINE_TYPE_CASTS(WebPluginContainerImpl, |
| 236 WebPluginContainer, | 237 WebPluginContainer, |
| 237 container, | 238 container, |
| 238 true, | 239 true, |
| 239 true); | 240 true); |
| 240 | 241 |
| 241 } // namespace blink | 242 } // namespace blink |
| 242 | 243 |
| 243 #endif | 244 #endif |
| OLD | NEW |