| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 #include <public/WebCompositorSupport.h> | 80 #include <public/WebCompositorSupport.h> |
| 81 #include <public/WebDragData.h> | 81 #include <public/WebDragData.h> |
| 82 #include <public/WebExternalTextureLayer.h> | 82 #include <public/WebExternalTextureLayer.h> |
| 83 #include <public/WebRect.h> | 83 #include <public/WebRect.h> |
| 84 #include <public/WebString.h> | 84 #include <public/WebString.h> |
| 85 #include <public/WebURL.h> | 85 #include <public/WebURL.h> |
| 86 #include <public/WebURLError.h> | 86 #include <public/WebURLError.h> |
| 87 #include <public/WebURLRequest.h> | 87 #include <public/WebURLRequest.h> |
| 88 #include <public/WebVector.h> | 88 #include <public/WebVector.h> |
| 89 | 89 |
| 90 #include "PlatformContextSkia.h" | 90 #include "core/platform/graphics/skia/PlatformContextSkia.h" |
| 91 | 91 |
| 92 using namespace WebCore; | 92 using namespace WebCore; |
| 93 | 93 |
| 94 namespace WebKit { | 94 namespace WebKit { |
| 95 | 95 |
| 96 // Public methods -------------------------------------------------------------- | 96 // Public methods -------------------------------------------------------------- |
| 97 | 97 |
| 98 void WebPluginContainerImpl::setFrameRect(const IntRect& frameRect) | 98 void WebPluginContainerImpl::setFrameRect(const IntRect& frameRect) |
| 99 { | 99 { |
| 100 Widget::setFrameRect(frameRect); | 100 Widget::setFrameRect(frameRect); |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 // Take our element and get the clip rect from the enclosing layer and | 849 // Take our element and get the clip rect from the enclosing layer and |
| 850 // frame view. | 850 // frame view. |
| 851 clipRect.intersect( | 851 clipRect.intersect( |
| 852 m_element->document()->view()->windowClipRectForFrameOwner(m_element
, true)); | 852 m_element->document()->view()->windowClipRectForFrameOwner(m_element
, true)); |
| 853 } | 853 } |
| 854 | 854 |
| 855 return clipRect; | 855 return clipRect; |
| 856 } | 856 } |
| 857 | 857 |
| 858 } // namespace WebKit | 858 } // namespace WebKit |
| OLD | NEW |