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

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: 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 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 skia::RefPtr<SkPicture> CapturePicture(); 246 skia::RefPtr<SkPicture> CapturePicture();
247 247
248 bool BlocksPendingCommit() const; 248 bool BlocksPendingCommit() const;
249 249
250 // Obtains a thorough dump of the LayerTreeHost as a value. 250 // Obtains a thorough dump of the LayerTreeHost as a value.
251 scoped_ptr<base::Value> AsValue() const; 251 scoped_ptr<base::Value> AsValue() const;
252 252
253 bool in_paint_layer_contents() const { return in_paint_layer_contents_; } 253 bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
254 254
255 void ShowTopControls(bool show);
Ted C 2013/06/03 17:43:42 I would move this next to UpdateTopControlsState.
Jinsuk Kim 2013/06/05 08:21:07 Done. Renamed to the same signature as in TopContr
256
255 protected: 257 protected:
256 LayerTreeHost(LayerTreeHostClient* client, const LayerTreeSettings& settings); 258 LayerTreeHost(LayerTreeHostClient* client, const LayerTreeSettings& settings);
257 bool Initialize(scoped_ptr<Thread> impl_thread); 259 bool Initialize(scoped_ptr<Thread> impl_thread);
258 bool InitializeForTesting(scoped_ptr<Proxy> proxy_for_testing); 260 bool InitializeForTesting(scoped_ptr<Proxy> proxy_for_testing);
259 261
260 private: 262 private:
261 bool InitializeProxy(scoped_ptr<Proxy> proxy); 263 bool InitializeProxy(scoped_ptr<Proxy> proxy);
262 264
263 bool PaintLayerContents(const LayerList& render_surface_layer_list, 265 bool PaintLayerContents(const LayerList& render_surface_layer_list,
264 ResourceUpdateQueue* quue); 266 ResourceUpdateQueue* quue);
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 bool in_paint_layer_contents_; 344 bool in_paint_layer_contents_;
343 345
344 LatencyInfo latency_info_; 346 LatencyInfo latency_info_;
345 347
346 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); 348 DISALLOW_COPY_AND_ASSIGN(LayerTreeHost);
347 }; 349 };
348 350
349 } // namespace cc 351 } // namespace cc
350 352
351 #endif // CC_TREES_LAYER_TREE_HOST_H_ 353 #endif // CC_TREES_LAYER_TREE_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698