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

Side by Side Diff: cc/input/layer_scroll_offset_delegate.h

Issue 15875009: Refactor SynchronousCompositor out of SynchronousCompositorOutputSurface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix rebase mistake 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 CC_INPUT_LAYER_SCROLL_OFFSET_DELEGATE_H_ 5 #ifndef CC_INPUT_LAYER_SCROLL_OFFSET_DELEGATE_H_
6 #define CC_INPUT_LAYER_SCROLL_OFFSET_DELEGATE_H_ 6 #define CC_INPUT_LAYER_SCROLL_OFFSET_DELEGATE_H_
7 7
8 #include "base/basictypes.h"
9 #include "ui/gfx/vector2d_f.h"
10
8 namespace cc { 11 namespace cc {
9 12
10 // The LayerScrollOffsetDelegate allows for the embedder to take ownership of 13 // The LayerScrollOffsetDelegate allows for the embedder to take ownership of
11 // the scroll offset of the root layer. 14 // the scroll offset of the root layer.
12 // 15 //
13 // The LayerScrollOffsetDelegate is only used on the impl thread. 16 // The LayerScrollOffsetDelegate is only used on the impl thread.
14 class LayerScrollOffsetDelegate { 17 class LayerScrollOffsetDelegate {
15 public: 18 public:
16 // This is called by the compositor when the scroll offset of the layer would 19 // This is called by the compositor when the scroll offset of the layer would
17 // have otherwise changed. 20 // have otherwise changed.
(...skipping 11 matching lines...) Expand all
29 LayerScrollOffsetDelegate() {} 32 LayerScrollOffsetDelegate() {}
30 virtual ~LayerScrollOffsetDelegate() {} 33 virtual ~LayerScrollOffsetDelegate() {}
31 34
32 private: 35 private:
33 DISALLOW_COPY_AND_ASSIGN(LayerScrollOffsetDelegate); 36 DISALLOW_COPY_AND_ASSIGN(LayerScrollOffsetDelegate);
34 }; 37 };
35 38
36 } // namespace cc 39 } // namespace cc
37 40
38 #endif // CC_INPUT_LAYER_SCROLL_OFFSET_DELEGATE_H_ 41 #endif // CC_INPUT_LAYER_SCROLL_OFFSET_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698