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

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, 7 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 SetNeedsDisplayOnAllLayers(); 42 void SetNeedsDisplayOnAllLayers();
43 void SetRasterizeOnlyVisibleContent(); 43 void SetRasterizeOnlyVisibleContent();
44 void GetRenderingStats(cc::RenderingStats* stats); 44 void GetRenderingStats(cc::RenderingStats* stats);
45 skia::RefPtr<SkPicture> CapturePicture(); 45 skia::RefPtr<SkPicture> CapturePicture();
46 void UpdateTopControlsState(cc::TopControlsState constraints, 46 void UpdateTopControlsState(cc::TopControlsState constraints,
47 cc::TopControlsState current, 47 cc::TopControlsState current,
48 bool animate); 48 bool animate);
49 void SetOverdrawBottomHeight(float overdraw_bottom_height); 49 void SetOverdrawBottomHeight(float overdraw_bottom_height);
50 void SetNeedsRedrawRect(gfx::Rect damage_rect); 50 void SetNeedsRedrawRect(gfx::Rect damage_rect);
51 void SetLatencyInfo(const cc::LatencyInfo& latency_info); 51 void SetLatencyInfo(const cc::LatencyInfo& latency_info);
52 void ShowTopControls(bool show);
Ted C 2013/06/03 17:43:42 move next to the UpdateTopControlsState here too (
Jinsuk Kim 2013/06/05 08:21:07 Done.
52 53
53 // WebLayerTreeView implementation. 54 // WebLayerTreeView implementation.
54 virtual void setSurfaceReady(); 55 virtual void setSurfaceReady();
55 virtual void setRootLayer(const WebKit::WebLayer& layer); 56 virtual void setRootLayer(const WebKit::WebLayer& layer);
56 virtual void clearRootLayer(); 57 virtual void clearRootLayer();
57 virtual void setViewportSize( 58 virtual void setViewportSize(
58 const WebKit::WebSize& unused_deprecated, 59 const WebKit::WebSize& unused_deprecated,
59 const WebKit::WebSize& device_viewport_size); 60 const WebKit::WebSize& device_viewport_size);
60 virtual WebKit::WebSize layoutViewportSize() const; 61 virtual WebKit::WebSize layoutViewportSize() const;
61 virtual WebKit::WebSize deviceViewportSize() const; 62 virtual WebKit::WebSize deviceViewportSize() const;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 114
114 bool threaded_; 115 bool threaded_;
115 bool suppress_schedule_composite_; 116 bool suppress_schedule_composite_;
116 RenderWidget* widget_; 117 RenderWidget* widget_;
117 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 118 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
118 }; 119 };
119 120
120 } // namespace content 121 } // namespace content
121 122
122 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 123 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698