Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_ | |
|
Kevin M
2015/10/14 17:52:56
This, and the ClientSessionManager, should probabl
haibinlu
2015/10/15 01:59:28
done. removed client session manager per offline d
| |
| 6 #define BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 #include "ui/gfx/geometry/size.h" | |
| 12 #include "url/gurl.h" | |
| 13 | |
| 14 namespace blimp { | |
| 15 namespace engine { | |
| 16 | |
| 17 class BlimpClientSession { | |
| 18 public: | |
| 19 BlimpClientSession(const gfx::Size& screen_size, const GURL& url_to_load); | |
| 20 ~BlimpClientSession(); | |
| 21 | |
| 22 // A blimp client has one screen. | |
|
Kevin M
2015/10/14 17:52:56
Remove these fields and includes as per our discus
haibinlu
2015/10/15 01:59:28
done
| |
| 23 const gfx::Size& screen_size() const { return screen_size_; } | |
| 24 | |
| 25 const GURL& url_to_load() const { return url_to_load_; } | |
| 26 | |
| 27 private: | |
| 28 gfx::Size screen_size_; | |
| 29 GURL url_to_load_; | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(BlimpClientSession); | |
| 32 }; | |
| 33 | |
| 34 } // namespace engine | |
| 35 } // namespace blimp | |
| 36 | |
| 37 #endif // BLIMP_ENGINE_BROWSER_BLIMP_CLIENT_SESSION_H_ | |
| OLD | NEW |