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

Side by Side Diff: components/mus/test_server_view_delegate.h

Issue 1340983002: Mandoline UI Process: Update namespaces and file names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 | « components/mus/test_change_tracker.cc ('k') | components/mus/test_server_view_delegate.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_MUS_TEST_SERVER_VIEW_DELEGATE_H_ 5 #ifndef COMPONENTS_MUS_TEST_SERVER_VIEW_DELEGATE_H_
6 #define COMPONENTS_MUS_TEST_SERVER_VIEW_DELEGATE_H_ 6 #define COMPONENTS_MUS_TEST_SERVER_VIEW_DELEGATE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "components/mus/server_view_delegate.h" 9 #include "components/mus/server_view_delegate.h"
10 10
11 namespace view_manager { 11 namespace mus {
12 12
13 class TestServerViewDelegate : public ServerViewDelegate { 13 class TestServerViewDelegate : public ServerViewDelegate {
14 public: 14 public:
15 TestServerViewDelegate(); 15 TestServerViewDelegate();
16 ~TestServerViewDelegate() override; 16 ~TestServerViewDelegate() override;
17 17
18 void set_root_view(const ServerView* view) { root_view_ = view; } 18 void set_root_view(const ServerView* view) { root_view_ = view; }
19 19
20 private: 20 private:
21 // ServerViewDelegate: 21 // ServerViewDelegate:
22 scoped_ptr<cc::CompositorFrame> UpdateViewTreeFromCompositorFrame( 22 scoped_ptr<cc::CompositorFrame> UpdateViewTreeFromCompositorFrame(
23 const mojo::CompositorFramePtr& input) override; 23 const mojo::CompositorFramePtr& input) override;
24 surfaces::SurfacesState* GetSurfacesState() override; 24 SurfacesState* GetSurfacesState() override;
25 void OnScheduleViewPaint(const ServerView* view) override; 25 void OnScheduleViewPaint(const ServerView* view) override;
26 const ServerView* GetRootView(const ServerView* view) const override; 26 const ServerView* GetRootView(const ServerView* view) const override;
27 27
28 const ServerView* root_view_; 28 const ServerView* root_view_;
29 29
30 DISALLOW_COPY_AND_ASSIGN(TestServerViewDelegate); 30 DISALLOW_COPY_AND_ASSIGN(TestServerViewDelegate);
31 }; 31 };
32 32
33 } // namespace view_manager 33 } // namespace mus
34 34
35 #endif // COMPONENTS_MUS_TEST_SERVER_VIEW_DELEGATE_H_ 35 #endif // COMPONENTS_MUS_TEST_SERVER_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/mus/test_change_tracker.cc ('k') | components/mus/test_server_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698