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

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

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 namespace { 48 namespace {
49 49
50 class FullscreenMouseLockDispatcher : public MouseLockDispatcher { 50 class FullscreenMouseLockDispatcher : public MouseLockDispatcher {
51 public: 51 public:
52 explicit FullscreenMouseLockDispatcher(RenderWidgetFullscreenPepper* widget); 52 explicit FullscreenMouseLockDispatcher(RenderWidgetFullscreenPepper* widget);
53 virtual ~FullscreenMouseLockDispatcher(); 53 virtual ~FullscreenMouseLockDispatcher();
54 54
55 private: 55 private:
56 // MouseLockDispatcher implementation. 56 // MouseLockDispatcher implementation.
57 virtual void SendLockMouseRequest(bool unlocked_by_target) OVERRIDE; 57 virtual void SendLockMouseRequest(bool unlocked_by_target) override;
58 virtual void SendUnlockMouseRequest() OVERRIDE; 58 virtual void SendUnlockMouseRequest() override;
59 59
60 RenderWidgetFullscreenPepper* widget_; 60 RenderWidgetFullscreenPepper* widget_;
61 61
62 DISALLOW_COPY_AND_ASSIGN(FullscreenMouseLockDispatcher); 62 DISALLOW_COPY_AND_ASSIGN(FullscreenMouseLockDispatcher);
63 }; 63 };
64 64
65 WebMouseEvent WebMouseEventFromGestureEvent(const WebGestureEvent& gesture) { 65 WebMouseEvent WebMouseEventFromGestureEvent(const WebGestureEvent& gesture) {
66 WebMouseEvent mouse; 66 WebMouseEvent mouse;
67 67
68 switch (gesture.type) { 68 switch (gesture.type) {
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 } 389 }
390 390
391 void RenderWidgetFullscreenPepper::SetDeviceScaleFactor( 391 void RenderWidgetFullscreenPepper::SetDeviceScaleFactor(
392 float device_scale_factor) { 392 float device_scale_factor) {
393 RenderWidget::SetDeviceScaleFactor(device_scale_factor); 393 RenderWidget::SetDeviceScaleFactor(device_scale_factor);
394 if (compositor_) 394 if (compositor_)
395 compositor_->setDeviceScaleFactor(device_scale_factor); 395 compositor_->setDeviceScaleFactor(device_scale_factor);
396 } 396 }
397 397
398 } // namespace content 398 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_widget_fullscreen_pepper.h ('k') | content/renderer/render_widget_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698