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

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

Issue 2448543002: Remove dead paint flush tracking code. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « content/renderer/render_widget.cc ('k') | 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 <memory> 10 #include <memory>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 protected: 58 protected:
59 RenderWidgetFullscreenPepper(CompositorDependencies* compositor_deps, 59 RenderWidgetFullscreenPepper(CompositorDependencies* compositor_deps,
60 PepperPluginInstanceImpl* plugin, 60 PepperPluginInstanceImpl* plugin,
61 const GURL& active_url, 61 const GURL& active_url,
62 const ScreenInfo& screen_info); 62 const ScreenInfo& screen_info);
63 ~RenderWidgetFullscreenPepper() override; 63 ~RenderWidgetFullscreenPepper() override;
64 64
65 // RenderWidget API. 65 // RenderWidget API.
66 void DidInitiatePaint() override; 66 void DidInitiatePaint() override;
67 void DidFlushPaint() override;
68 void Close() override; 67 void Close() override;
69 void OnResize(const ResizeParams& params) override; 68 void OnResize(const ResizeParams& params) override;
70 69
71 // RenderWidgetFullscreen API. 70 // RenderWidgetFullscreen API.
72 blink::WebWidget* CreateWebWidget() override; 71 blink::WebWidget* CreateWebWidget() override;
73 72
74 // RenderWidget overrides. 73 // RenderWidget overrides.
75 GURL GetURLForGraphicsContext3D() override; 74 GURL GetURLForGraphicsContext3D() override;
76 void OnDeviceScaleFactorChanged() override; 75 void OnDeviceScaleFactorChanged() override;
77 76
78 private: 77 private:
79 // URL that is responsible for this widget, passed to ggl::CreateViewContext. 78 // URL that is responsible for this widget, passed to ggl::CreateViewContext.
80 GURL active_url_; 79 GURL active_url_;
81 80
82 // The plugin instance this widget wraps. 81 // The plugin instance this widget wraps.
83 PepperPluginInstanceImpl* plugin_; 82 PepperPluginInstanceImpl* plugin_;
84 83
85 blink::WebLayer* layer_; 84 blink::WebLayer* layer_;
86 85
87 std::unique_ptr<MouseLockDispatcher> mouse_lock_dispatcher_; 86 std::unique_ptr<MouseLockDispatcher> mouse_lock_dispatcher_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper); 88 DISALLOW_COPY_AND_ASSIGN(RenderWidgetFullscreenPepper);
90 }; 89 };
91 90
92 } // namespace content 91 } // namespace content
93 92
94 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_ 93 #endif // CONTENT_RENDERER_RENDER_WIDGET_FULLSCREEN_PEPPER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | content/renderer/render_widget_fullscreen_pepper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698