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

Side by Side Diff: cc/trees/layer_tree_host.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: 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_LAYER_TREE_HOST_H_ 5 #ifndef CC_TREES_LAYER_TREE_HOST_H_
6 #define CC_TREES_LAYER_TREE_HOST_H_ 6 #define CC_TREES_LAYER_TREE_HOST_H_
7 7
8 #include <limits> 8 #include <limits>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 skia::RefPtr<SkPicture> CapturePicture(); 248 skia::RefPtr<SkPicture> CapturePicture();
249 249
250 bool BlocksPendingCommit() const; 250 bool BlocksPendingCommit() const;
251 251
252 // Obtains a thorough dump of the LayerTreeHost as a value. 252 // Obtains a thorough dump of the LayerTreeHost as a value.
253 scoped_ptr<base::Value> AsValue() const; 253 scoped_ptr<base::Value> AsValue() const;
254 254
255 bool in_paint_layer_contents() const { return in_paint_layer_contents_; } 255 bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
256 256
257 void ShowTopControls(bool show);
258 float GetTopControlsOffset();
259
257 protected: 260 protected:
258 LayerTreeHost(LayerTreeHostClient* client, const LayerTreeSettings& settings); 261 LayerTreeHost(LayerTreeHostClient* client, const LayerTreeSettings& settings);
259 bool Initialize(scoped_ptr<Thread> impl_thread); 262 bool Initialize(scoped_ptr<Thread> impl_thread);
260 bool InitializeForTesting(scoped_ptr<Proxy> proxy_for_testing); 263 bool InitializeForTesting(scoped_ptr<Proxy> proxy_for_testing);
261 264
262 private: 265 private:
263 bool InitializeProxy(scoped_ptr<Proxy> proxy); 266 bool InitializeProxy(scoped_ptr<Proxy> proxy);
264 267
265 bool PaintLayerContents(const LayerList& render_surface_layer_list, 268 bool PaintLayerContents(const LayerList& render_surface_layer_list,
266 ResourceUpdateQueue* quue); 269 ResourceUpdateQueue* quue);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 bool in_paint_layer_contents_; 347 bool in_paint_layer_contents_;
345 348
346 LatencyInfo latency_info_; 349 LatencyInfo latency_info_;
347 350
348 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 351 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
349 }; 352 };
350 353
351 } // namespace cc 354 } // namespace cc
352 355
353 #endif // CC_TREES_LAYER_TREE_HOST_H_ 356 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698