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

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(
jamesr 2013/06/10 23:48:31 rather than adding a new entry point, can you just
Jinsuk Kim 2013/06/11 04:53:18 Changed to keep the old constraints in RenderViewI
53 cc::TopControlsState current,
54 bool animate);
55
52 void SetOverdrawBottomHeight(float overdraw_bottom_height); 56 void SetOverdrawBottomHeight(float overdraw_bottom_height);
53 void SetNeedsRedrawRect(gfx::Rect damage_rect); 57 void SetNeedsRedrawRect(gfx::Rect damage_rect);
54 void SetLatencyInfo(const ui::LatencyInfo& latency_info); 58 void SetLatencyInfo(const ui::LatencyInfo& latency_info);
55 59
56 // WebLayerTreeView implementation. 60 // WebLayerTreeView implementation.
57 virtual void setSurfaceReady(); 61 virtual void setSurfaceReady();
58 virtual void setRootLayer(const WebKit::WebLayer& layer); 62 virtual void setRootLayer(const WebKit::WebLayer& layer);
59 virtual void clearRootLayer(); 63 virtual void clearRootLayer();
60 virtual void setViewportSize( 64 virtual void setViewportSize(
61 const WebKit::WebSize& unused_deprecated, 65 const WebKit::WebSize& unused_deprecated,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 120
117 bool threaded_; 121 bool threaded_;
118 bool suppress_schedule_composite_; 122 bool suppress_schedule_composite_;
119 RenderWidget* widget_; 123 RenderWidget* widget_;
120 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 124 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
121 }; 125 };
122 126
123 } // namespace content 127 } // namespace content
124 128
125 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 129 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698