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

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

Issue 1752813002: Pepper uses DIP, so RWFullscreenPepper should always use SetDeviceScaleFctor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void DidInitiatePaint() override; 64 void DidInitiatePaint() override;
65 void DidFlushPaint() override; 65 void DidFlushPaint() override;
66 void Close() override; 66 void Close() override;
67 void OnResize(const ResizeParams& params) override; 67 void OnResize(const ResizeParams& params) override;
68 68
69 // RenderWidgetFullscreen API. 69 // RenderWidgetFullscreen API.
70 blink::WebWidget* CreateWebWidget() override; 70 blink::WebWidget* CreateWebWidget() override;
71 71
72 // RenderWidget overrides. 72 // RenderWidget overrides.
73 GURL GetURLForGraphicsContext3D() override; 73 GURL GetURLForGraphicsContext3D() override;
74 void SetDeviceScaleFactor(float device_scale_factor) override; 74 void OnDeviceScaleFactorChanged() override;
75 75
76 private: 76 private:
77 // URL that is responsible for this widget, passed to ggl::CreateViewContext. 77 // URL that is responsible for this widget, passed to ggl::CreateViewContext.
78 GURL active_url_; 78 GURL active_url_;
79 79
80 // The plugin instance this widget wraps. 80 // The plugin instance this widget wraps.
81 PepperPluginInstanceImpl* plugin_; 81 PepperPluginInstanceImpl* plugin_;
82 82
83 blink::WebLayer* layer_; 83 blink::WebLayer* layer_;
84 84
85 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; 85 scoped_ptr<MouseLockDispatcher> mouse_lock_dispatcher_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); 87 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper);
88 }; 88 };
89 89
90 } // namespace content 90 } // namespace content
91 91
92 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 92 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698