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

Side by Side Diff: mash/system_ui/system_ui.h

Issue 1492563002: Introduce mash/shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 MASH_EXAMPLE_MOCK_SYSUI_MOCK_SYSUI_H_ 5 #ifndef MASH_SYSTEM_UI_SYSTEM_UI_H_
6 #define MASH_EXAMPLE_MOCK_SYSUI_MOCK_SYSUI_H_ 6 #define MASH_SYSTEM_UI_SYSTEM_UI_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "mojo/application/public/cpp/application_delegate.h" 10 #include "mojo/application/public/cpp/application_delegate.h"
11 #include "mojo/services/tracing/public/cpp/tracing_impl.h" 11 #include "mojo/services/tracing/public/cpp/tracing_impl.h"
12 12
13 namespace views { 13 namespace views {
14 class AuraInit; 14 class AuraInit;
15 } 15 }
16 16
17 class MockSysUI : public mojo::ApplicationDelegate { 17 namespace mash {
18 namespace system_ui {
19
20 class SystemUI : public mojo::ApplicationDelegate {
18 public: 21 public:
19 MockSysUI(); 22 SystemUI();
20 ~MockSysUI() override; 23 ~SystemUI() override;
21 24
22 private: 25 private:
23 // mojo::ApplicationDelegate: 26 // mojo::ApplicationDelegate:
24 void Initialize(mojo::ApplicationImpl* app) override; 27 void Initialize(mojo::ApplicationImpl* app) override;
25 bool ConfigureIncomingConnection( 28 bool ConfigureIncomingConnection(
26 mojo::ApplicationConnection* connection) override; 29 mojo::ApplicationConnection* connection) override;
27 30
28 mojo::TracingImpl tracing_; 31 mojo::TracingImpl tracing_;
29 32
30 scoped_ptr<views::AuraInit> aura_init_; 33 scoped_ptr<views::AuraInit> aura_init_;
31 34
32 DISALLOW_COPY_AND_ASSIGN(MockSysUI); 35 DISALLOW_COPY_AND_ASSIGN(SystemUI);
33 }; 36 };
34 37
35 #endif // MASH_EXAMPLE_MOCK_SYSUI_MOCK_SYSUI_H_ 38 } // namespace system_ui
39 } // namespace mash
40
41 #endif // MASH_SYSTEM_UI_SYSTEM_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698