| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   44 #include "core/events/MouseEvent.h" |   44 #include "core/events/MouseEvent.h" | 
|   45 #include "core/events/TouchEvent.h" |   45 #include "core/events/TouchEvent.h" | 
|   46 #include "core/events/WheelEvent.h" |   46 #include "core/events/WheelEvent.h" | 
|   47 #include "core/frame/EventHandlerRegistry.h" |   47 #include "core/frame/EventHandlerRegistry.h" | 
|   48 #include "core/frame/FrameView.h" |   48 #include "core/frame/FrameView.h" | 
|   49 #include "core/frame/LocalFrame.h" |   49 #include "core/frame/LocalFrame.h" | 
|   50 #include "core/html/HTMLFormElement.h" |   50 #include "core/html/HTMLFormElement.h" | 
|   51 #include "core/html/HTMLPlugInElement.h" |   51 #include "core/html/HTMLPlugInElement.h" | 
|   52 #include "core/layout/HitTestResult.h" |   52 #include "core/layout/HitTestResult.h" | 
|   53 #include "core/layout/Layer.h" |   53 #include "core/layout/Layer.h" | 
 |   54 #include "core/layout/LayoutPart.h" | 
|   54 #include "core/loader/FormState.h" |   55 #include "core/loader/FormState.h" | 
|   55 #include "core/loader/FrameLoadRequest.h" |   56 #include "core/loader/FrameLoadRequest.h" | 
|   56 #include "core/page/Chrome.h" |   57 #include "core/page/Chrome.h" | 
|   57 #include "core/page/EventHandler.h" |   58 #include "core/page/EventHandler.h" | 
|   58 #include "core/page/FocusController.h" |   59 #include "core/page/FocusController.h" | 
|   59 #include "core/page/Page.h" |   60 #include "core/page/Page.h" | 
|   60 #include "core/page/scrolling/ScrollingCoordinator.h" |   61 #include "core/page/scrolling/ScrollingCoordinator.h" | 
|   61 #include "core/plugins/PluginOcclusionSupport.h" |   62 #include "core/plugins/PluginOcclusionSupport.h" | 
|   62 #include "core/rendering/RenderBox.h" |   63 #include "core/rendering/RenderBox.h" | 
|   63 #include "core/rendering/RenderPart.h" |  | 
|   64 #include "platform/HostWindow.h" |   64 #include "platform/HostWindow.h" | 
|   65 #include "platform/KeyboardCodes.h" |   65 #include "platform/KeyboardCodes.h" | 
|   66 #include "platform/PlatformGestureEvent.h" |   66 #include "platform/PlatformGestureEvent.h" | 
|   67 #include "platform/UserGestureIndicator.h" |   67 #include "platform/UserGestureIndicator.h" | 
|   68 #include "platform/exported/WrappedResourceResponse.h" |   68 #include "platform/exported/WrappedResourceResponse.h" | 
|   69 #include "platform/graphics/GraphicsContext.h" |   69 #include "platform/graphics/GraphicsContext.h" | 
|   70 #include "platform/graphics/GraphicsLayer.h" |   70 #include "platform/graphics/GraphicsLayer.h" | 
|   71 #include "platform/scroll/ScrollAnimator.h" |   71 #include "platform/scroll/ScrollAnimator.h" | 
|   72 #include "platform/scroll/ScrollbarTheme.h" |   72 #include "platform/scroll/ScrollbarTheme.h" | 
|   73 #include "public/platform/Platform.h" |   73 #include "public/platform/Platform.h" | 
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  304         return; |  304         return; | 
|  305  |  305  | 
|  306 #if ENABLE(OILPAN) |  306 #if ENABLE(OILPAN) | 
|  307     if (!m_element) |  307     if (!m_element) | 
|  308         return; |  308         return; | 
|  309 #endif |  309 #endif | 
|  310  |  310  | 
|  311     m_element->setNeedsCompositingUpdate(); |  311     m_element->setNeedsCompositingUpdate(); | 
|  312     // Being composited or not affects the self painting layer bit |  312     // Being composited or not affects the self painting layer bit | 
|  313     // on the Layer. |  313     // on the Layer. | 
|  314     if (RenderPart* renderer = m_element->renderPart()) { |  314     if (LayoutPart* renderer = m_element->layoutPart()) { | 
|  315         ASSERT(renderer->hasLayer()); |  315         ASSERT(renderer->hasLayer()); | 
|  316         renderer->layer()->updateSelfPaintingLayer(); |  316         renderer->layer()->updateSelfPaintingLayer(); | 
|  317     } |  317     } | 
|  318 } |  318 } | 
|  319  |  319  | 
|  320 bool WebPluginContainerImpl::supportsPaginatedPrint() const |  320 bool WebPluginContainerImpl::supportsPaginatedPrint() const | 
|  321 { |  321 { | 
|  322     return m_webPlugin->supportsPaginatedPrint(); |  322     return m_webPlugin->supportsPaginatedPrint(); | 
|  323 } |  323 } | 
|  324  |  324  | 
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  984  |  984  | 
|  985     return clipRect; |  985     return clipRect; | 
|  986 } |  986 } | 
|  987  |  987  | 
|  988 bool WebPluginContainerImpl::pluginShouldPersist() const |  988 bool WebPluginContainerImpl::pluginShouldPersist() const | 
|  989 { |  989 { | 
|  990     return m_webPlugin->shouldPersist(); |  990     return m_webPlugin->shouldPersist(); | 
|  991 } |  991 } | 
|  992  |  992  | 
|  993 } // namespace blink |  993 } // namespace blink | 
| OLD | NEW |