| OLD | NEW | 
|   1 // Copyright 2014 The Chromium Authors. All rights reserved. |   1 // Copyright 2014 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 SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_ |   5 #ifndef SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_ | 
|   6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_ |   6 #define SERVICES_NATIVE_VIEWPORT_APP_DELEGATE_H_ | 
|   7  |   7  | 
|   8 #include <algorithm> |   8 #include <algorithm> | 
|   9  |   9  | 
|  10 #include "base/bind.h" |  10 #include "base/bind.h" | 
|  11 #include "base/command_line.h" |  11 #include "base/command_line.h" | 
|  12 #include "base/macros.h" |  12 #include "base/macros.h" | 
|  13 #include "base/message_loop/message_loop.h" |  13 #include "base/message_loop/message_loop.h" | 
|  14 #include "mojo/application/application_runner_chromium.h" |  14 #include "mojo/application/application_runner_chromium.h" | 
|  15 #include "mojo/common/tracing_impl.h" |  15 #include "mojo/common/tracing_impl.h" | 
|  16 #include "mojo/public/c/system/main.h" |  16 #include "mojo/public/c/system/main.h" | 
|  17 #include "mojo/public/cpp/application/application_delegate.h" |  17 #include "mojo/public/cpp/application/application_delegate.h" | 
|  18 #include "mojo/public/cpp/application/application_impl.h" |  18 #include "mojo/public/cpp/application/application_impl.h" | 
|  19 #include "mojo/public/cpp/application/interface_factory_impl.h" |  | 
|  20 #include "mojo/services/native_viewport/cpp/args.h" |  19 #include "mojo/services/native_viewport/cpp/args.h" | 
|  21 #include "services/gles2/gpu_impl.h" |  20 #include "services/gles2/gpu_impl.h" | 
|  22 #include "services/native_viewport/native_viewport_impl.h" |  21 #include "services/native_viewport/native_viewport_impl.h" | 
|  23 #include "ui/events/event_switches.h" |  22 #include "ui/events/event_switches.h" | 
|  24 #include "ui/gl/gl_surface.h" |  23 #include "ui/gl/gl_surface.h" | 
|  25  |  24  | 
|  26 using mojo::ApplicationConnection; |  25 using mojo::ApplicationConnection; | 
|  27 using mojo::Gpu; |  26 using mojo::Gpu; | 
|  28 using mojo::NativeViewport; |  27 using mojo::NativeViewport; | 
|  29  |  28  | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
|  56   scoped_refptr<gles2::GpuState> gpu_state_; |  55   scoped_refptr<gles2::GpuState> gpu_state_; | 
|  57   bool is_headless_; |  56   bool is_headless_; | 
|  58   mojo::TracingImpl tracing_; |  57   mojo::TracingImpl tracing_; | 
|  59  |  58  | 
|  60   DISALLOW_COPY_AND_ASSIGN(NativeViewportAppDelegate); |  59   DISALLOW_COPY_AND_ASSIGN(NativeViewportAppDelegate); | 
|  61 }; |  60 }; | 
|  62  |  61  | 
|  63 }  // namespace native_viewport |  62 }  // namespace native_viewport | 
|  64  |  63  | 
|  65 #endif |  64 #endif | 
| OLD | NEW |