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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.h

Issue 14999010: Allows fullscreen to be triggered with the key events used for scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 6 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_GPU_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "cc/debug/rendering_stats.h" 10 #include "cc/debug/rendering_stats.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void SetSuppressScheduleComposite(bool suppress); 42 void SetSuppressScheduleComposite(bool suppress);
43 void Animate(base::TimeTicks time); 43 void Animate(base::TimeTicks time);
44 void Composite(base::TimeTicks frame_begin_time); 44 void Composite(base::TimeTicks frame_begin_time);
45 void SetNeedsDisplayOnAllLayers(); 45 void SetNeedsDisplayOnAllLayers();
46 void SetRasterizeOnlyVisibleContent(); 46 void SetRasterizeOnlyVisibleContent();
47 void GetRenderingStats(cc::RenderingStats* stats); 47 void GetRenderingStats(cc::RenderingStats* stats);
48 skia::RefPtr<SkPicture> CapturePicture(); 48 skia::RefPtr<SkPicture> CapturePicture();
49 void UpdateTopControlsState(cc::TopControlsState constraints, 49 void UpdateTopControlsState(cc::TopControlsState constraints,
50 cc::TopControlsState current, 50 cc::TopControlsState current,
51 bool animate); 51 bool animate);
52 void UpdateTopControlsStatePreservingConstraints(bool show);
aelias_OOO_until_Jul13 2013/06/10 05:11:25 Change the arguments here likewise.
Jinsuk Kim 2013/06/10 05:37:09 Done.
52 void SetOverdrawBottomHeight(float overdraw_bottom_height); 53 void SetOverdrawBottomHeight(float overdraw_bottom_height);
53 void SetNeedsRedrawRect(gfx::Rect damage_rect); 54 void SetNeedsRedrawRect(gfx::Rect damage_rect);
54 void SetLatencyInfo(const ui::LatencyInfo& latency_info); 55 void SetLatencyInfo(const ui::LatencyInfo& latency_info);
55 56
56 // WebLayerTreeView implementation. 57 // WebLayerTreeView implementation.
57 virtual void setSurfaceReady(); 58 virtual void setSurfaceReady();
58 virtual void setRootLayer(const WebKit::WebLayer& layer); 59 virtual void setRootLayer(const WebKit::WebLayer& layer);
59 virtual void clearRootLayer(); 60 virtual void clearRootLayer();
60 virtual void setViewportSize( 61 virtual void setViewportSize(
61 const WebKit::WebSize& unused_deprecated, 62 const WebKit::WebSize& unused_deprecated,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 117
117 bool threaded_; 118 bool threaded_;
118 bool suppress_schedule_composite_; 119 bool suppress_schedule_composite_;
119 RenderWidget* widget_; 120 RenderWidget* widget_;
120 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 121 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
121 }; 122 };
122 123
123 } // namespace content 124 } // namespace content
124 125
125 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 126 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698