| 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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 | 321 |
| 322 if (element_) | 322 if (element_) |
| 323 element_->SetNeedsCompositingUpdate(); | 323 element_->SetNeedsCompositingUpdate(); |
| 324 } | 324 } |
| 325 | 325 |
| 326 void WebPluginContainerImpl::RequestFullscreen() { | 326 void WebPluginContainerImpl::RequestFullscreen() { |
| 327 Fullscreen::RequestFullscreen(*element_); | 327 Fullscreen::RequestFullscreen(*element_); |
| 328 } | 328 } |
| 329 | 329 |
| 330 bool WebPluginContainerImpl::IsFullscreenElement() const { | 330 bool WebPluginContainerImpl::IsFullscreenElement() const { |
| 331 return Fullscreen::IsCurrentFullScreenElement(*element_); | 331 return Fullscreen::IsFullscreenElement(*element_); |
| 332 } | 332 } |
| 333 | 333 |
| 334 void WebPluginContainerImpl::CancelFullscreen() { | 334 void WebPluginContainerImpl::CancelFullscreen() { |
| 335 Fullscreen::FullyExitFullscreen(element_->GetDocument()); | 335 Fullscreen::FullyExitFullscreen(element_->GetDocument()); |
| 336 } | 336 } |
| 337 | 337 |
| 338 bool WebPluginContainerImpl::SupportsPaginatedPrint() const { | 338 bool WebPluginContainerImpl::SupportsPaginatedPrint() const { |
| 339 return web_plugin_->SupportsPaginatedPrint(); | 339 return web_plugin_->SupportsPaginatedPrint(); |
| 340 } | 340 } |
| 341 | 341 |
| (...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 .GetLayoutViewItem() | 1042 .GetLayoutViewItem() |
| 1043 .IsNull()) { | 1043 .IsNull()) { |
| 1044 // Take our element and get the clip rect from the enclosing layer and | 1044 // Take our element and get the clip rect from the enclosing layer and |
| 1045 // frame view. | 1045 // frame view. |
| 1046 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, | 1046 ComputeClipRectsForPlugin(element_, window_rect, clip_rect, |
| 1047 unobscured_rect); | 1047 unobscured_rect); |
| 1048 } | 1048 } |
| 1049 } | 1049 } |
| 1050 | 1050 |
| 1051 } // namespace blink | 1051 } // namespace blink |
| OLD | NEW |