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

Side by Side Diff: blimp/client/session/blimp_client_session_linux.cc

Issue 1570943002: [Blimp client] Move client code into blimp::client namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
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 #include "blimp/client/session/blimp_client_session_linux.h" 5 #include "blimp/client/session/blimp_client_session_linux.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "blimp/client/linux/blimp_display_manager.h" 8 #include "blimp/client/linux/blimp_display_manager.h"
9 #include "ui/events/platform/platform_event_source.h" 9 #include "ui/events/platform/platform_event_source.h"
10 #include "ui/gfx/geometry/size.h" 10 #include "ui/gfx/geometry/size.h"
11 11
12 namespace blimp { 12 namespace blimp {
13 namespace client {
13 14
14 BlimpClientSessionLinux::BlimpClientSessionLinux() 15 BlimpClientSessionLinux::BlimpClientSessionLinux()
15 : event_source_(ui::PlatformEventSource::CreateDefault()) { 16 : event_source_(ui::PlatformEventSource::CreateDefault()) {
16 blimp_display_manager_.reset(new BlimpDisplayManager(gfx::Size(800, 600), 17 blimp_display_manager_.reset(new BlimpDisplayManager(gfx::Size(800, 600),
17 this, 18 this,
18 GetRenderWidgetFeature(), 19 GetRenderWidgetFeature(),
19 GetTabControlFeature())); 20 GetTabControlFeature()));
20 } 21 }
21 22
22 BlimpClientSessionLinux::~BlimpClientSessionLinux() {} 23 BlimpClientSessionLinux::~BlimpClientSessionLinux() {}
23 24
24 void BlimpClientSessionLinux::OnClosed() { 25 void BlimpClientSessionLinux::OnClosed() {
25 base::MessageLoop::current()->QuitNow(); 26 base::MessageLoop::current()->QuitNow();
26 } 27 }
27 28
29 } // namespace client
28 } // namespace blimp 30 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/client/session/blimp_client_session_linux.h ('k') | blimp/client/session/navigation_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698