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

Side by Side Diff: mash/shell/shell_application_delegate.h

Issue 1576683002: Add rudimentary mash shelf functionality. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 4 years, 11 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 | « mash/shell/BUILD.gn ('k') | mash/shell/shell_application_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 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_SHELL_SHELL_APPLICATION_DELEGATE_H_ 5 #ifndef MASH_SHELL_SHELL_APPLICATION_DELEGATE_H_
6 #define MASH_SHELL_SHELL_APPLICATION_DELEGATE_H_ 6 #define MASH_SHELL_SHELL_APPLICATION_DELEGATE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 14 matching lines...) Expand all
25 ~ShellApplicationDelegate() override; 25 ~ShellApplicationDelegate() override;
26 26
27 private: 27 private:
28 // mojo::ApplicationDelegate: 28 // mojo::ApplicationDelegate:
29 void Initialize(mojo::ApplicationImpl* app) override; 29 void Initialize(mojo::ApplicationImpl* app) override;
30 bool ConfigureIncomingConnection( 30 bool ConfigureIncomingConnection(
31 mojo::ApplicationConnection* connection) override; 31 mojo::ApplicationConnection* connection) override;
32 32
33 void StartWindowManager(); 33 void StartWindowManager();
34 void StartWallpaper(); 34 void StartWallpaper();
35 void StartSystemUI(); 35 void StartShelf();
36 void StartBrowserDriver(); 36 void StartBrowserDriver();
37 void StartQuickLaunch(); 37 void StartQuickLaunch();
38 38
39 // Starts the application at |url|, running |restart_callback| if the 39 // Starts the application at |url|, running |restart_callback| if the
40 // connection to the application is closed. 40 // connection to the application is closed.
41 void StartRestartableService(const std::string& url, 41 void StartRestartableService(const std::string& url,
42 const base::Closure& restart_callback); 42 const base::Closure& restart_callback);
43 43
44 mojo::ApplicationImpl* app_; 44 mojo::ApplicationImpl* app_;
45 std::map<std::string, scoped_ptr<mojo::ApplicationConnection>> connections_; 45 std::map<std::string, scoped_ptr<mojo::ApplicationConnection>> connections_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(ShellApplicationDelegate); 47 DISALLOW_COPY_AND_ASSIGN(ShellApplicationDelegate);
48 }; 48 };
49 49
50 } // namespace shell 50 } // namespace shell
51 } // namespace mash 51 } // namespace mash
52 52
53 #endif // MASH_SHELL_SHELL_APPLICATION_DELEGATE_H_ 53 #endif // MASH_SHELL_SHELL_APPLICATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « mash/shell/BUILD.gn ('k') | mash/shell/shell_application_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698