| OLD | NEW | 
|---|
| 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/engine/session/blimp_engine_session.h" | 5 #include "blimp/engine/session/blimp_engine_session.h" | 
| 6 | 6 | 
| 7 #include <string> | 7 #include <string> | 
| 8 | 8 | 
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" | 
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" | 
| 11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" | 
| 12 #include "base/strings/utf_string_conversions.h" | 12 #include "base/strings/utf_string_conversions.h" | 
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" | 
| 14 #include "base/trace_event/trace_event.h" | 14 #include "base/trace_event/trace_event.h" | 
| 15 #include "blimp/common/create_blimp_message.h" | 15 #include "blimp/common/create_blimp_message.h" | 
| 16 #include "blimp/common/proto/tab_control.pb.h" | 16 #include "blimp/common/proto/tab_control.pb.h" | 
| 17 #include "blimp/engine/app/blimp_engine_config.h" | 17 #include "blimp/engine/app/blimp_engine_config.h" | 
| 18 #include "blimp/engine/app/settings_manager.h" | 18 #include "blimp/engine/app/settings_manager.h" | 
| 19 #include "blimp/engine/app/switches.h" | 19 #include "blimp/engine/app/switches.h" | 
| 20 #include "blimp/engine/app/ui/blimp_layout_manager.h" | 20 #include "blimp/engine/app/ui/blimp_layout_manager.h" | 
| 21 #include "blimp/engine/app/ui/blimp_screen.h" | 21 #include "blimp/engine/app/ui/blimp_screen.h" | 
| 22 #include "blimp/engine/app/ui/blimp_window_tree_client.h" | 22 #include "blimp/engine/app/ui/blimp_window_tree_client.h" | 
| 23 #include "blimp/engine/app/ui/blimp_window_tree_host.h" | 23 #include "blimp/engine/app/ui/blimp_window_tree_host.h" | 
| (...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 648 | 648 | 
| 649   aura::Window* parent = window_tree_host_->window(); | 649   aura::Window* parent = window_tree_host_->window(); | 
| 650   aura::Window* content = web_contents_->GetNativeView(); | 650   aura::Window* content = web_contents_->GetNativeView(); | 
| 651   if (!parent->Contains(content)) | 651   if (!parent->Contains(content)) | 
| 652     parent->AddChild(content); | 652     parent->AddChild(content); | 
| 653   content->Show(); | 653   content->Show(); | 
| 654 } | 654 } | 
| 655 | 655 | 
| 656 }  // namespace engine | 656 }  // namespace engine | 
| 657 }  // namespace blimp | 657 }  // namespace blimp | 
| OLD | NEW | 
|---|