| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/renderer/render_widget_fullscreen_pepper.h" | 5 #include "content/renderer/render_widget_fullscreen_pepper.h" |
| 6 | 6 |
| 7 #include "chrome/common/render_messages.h" | 7 #include "chrome/common/render_messages.h" |
| 8 #include "chrome/renderer/render_thread.h" | 8 #include "chrome/renderer/render_thread.h" |
| 9 #include "content/renderer/ggl.h" | 9 #include "content/renderer/ggl.h" |
| 10 #include "content/renderer/gpu_channel_host.h" | 10 #include "content/renderer/gpu_channel_host.h" |
| 11 #include "content/renderer/pepper_platform_context_3d_impl.h" | 11 #include "content/renderer/pepper_platform_context_3d_impl.h" |
| 12 #include "gpu/command_buffer/client/gles2_implementation.h" | 12 #include "gpu/command_buffer/client/gles2_implementation.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
| 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" |
| 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWidget.h" |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 return true; | 386 return true; |
| 387 } | 387 } |
| 388 | 388 |
| 389 bool RenderWidgetFullscreenPepper::CheckCompositing() { | 389 bool RenderWidgetFullscreenPepper::CheckCompositing() { |
| 390 bool compositing = webwidget_->isAcceleratedCompositingActive(); | 390 bool compositing = webwidget_->isAcceleratedCompositingActive(); |
| 391 if (compositing != is_accelerated_compositing_active_) { | 391 if (compositing != is_accelerated_compositing_active_) { |
| 392 didActivateAcceleratedCompositing(compositing); | 392 didActivateAcceleratedCompositing(compositing); |
| 393 } | 393 } |
| 394 return compositing; | 394 return compositing; |
| 395 } | 395 } |
| OLD | NEW |