Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Side by Side Diff: content/renderer/render_widget_fullscreen_pepper.cc

Issue 1832263002: Remove WGC3D typedefs and move WebGraphicsInfo to Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: webgraphicsinfo: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/render_widget_fullscreen_pepper.h" 5 #include "content/renderer/render_widget_fullscreen_pepper.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 25 matching lines...) Expand all
36 using blink::WebMouseEvent; 36 using blink::WebMouseEvent;
37 using blink::WebMouseWheelEvent; 37 using blink::WebMouseWheelEvent;
38 using blink::WebPoint; 38 using blink::WebPoint;
39 using blink::WebRect; 39 using blink::WebRect;
40 using blink::WebSize; 40 using blink::WebSize;
41 using blink::WebString; 41 using blink::WebString;
42 using blink::WebTextDirection; 42 using blink::WebTextDirection;
43 using blink::WebTextInputType; 43 using blink::WebTextInputType;
44 using blink::WebVector; 44 using blink::WebVector;
45 using blink::WebWidget; 45 using blink::WebWidget;
46 using blink::WGC3Dintptr;
47 46
48 namespace content { 47 namespace content {
49 48
50 namespace { 49 namespace {
51 50
52 class FullscreenMouseLockDispatcher : public MouseLockDispatcher { 51 class FullscreenMouseLockDispatcher : public MouseLockDispatcher {
53 public: 52 public:
54 explicit FullscreenMouseLockDispatcher(RenderWidgetFullscreenPepper* widget); 53 explicit FullscreenMouseLockDispatcher(RenderWidgetFullscreenPepper* widget);
55 ~FullscreenMouseLockDispatcher() override; 54 ~FullscreenMouseLockDispatcher() override;
56 55
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 GURL RenderWidgetFullscreenPepper::GetURLForGraphicsContext3D() { 382 GURL RenderWidgetFullscreenPepper::GetURLForGraphicsContext3D() {
384 return active_url_; 383 return active_url_;
385 } 384 }
386 385
387 void RenderWidgetFullscreenPepper::OnDeviceScaleFactorChanged() { 386 void RenderWidgetFullscreenPepper::OnDeviceScaleFactorChanged() {
388 if (compositor_) 387 if (compositor_)
389 compositor_->setDeviceScaleFactor(device_scale_factor_); 388 compositor_->setDeviceScaleFactor(device_scale_factor_);
390 } 389 }
391 390
392 } // namespace content 391 } // namespace content
OLDNEW
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698