| 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 CONTENT_RENDERER_WEB_UI_MOJO_H_ | 5 #ifndef CONTENT_RENDERER_WEB_UI_MOJO_H_ |
| 6 #define CONTENT_RENDERER_WEB_UI_MOJO_H_ | 6 #define CONTENT_RENDERER_WEB_UI_MOJO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "content/public/renderer/render_frame_observer.h" | 10 #include "content/public/renderer/render_frame_observer.h" |
| 11 #include "content/public/renderer/render_view_observer.h" | 11 #include "content/public/renderer/render_view_observer.h" |
| 12 #include "content/public/renderer/render_view_observer_tracker.h" | 12 #include "content/public/renderer/render_view_observer_tracker.h" |
| 13 #include "mojo/public/system/core.h" | 13 #include "mojo/public/c/system/core.h" |
| 14 | 14 |
| 15 namespace gin { | 15 namespace gin { |
| 16 class PerContextData; | 16 class PerContextData; |
| 17 } | 17 } |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 class WebUIMojoContextState; | 21 class WebUIMojoContextState; |
| 22 | 22 |
| 23 // WebUIMojo is responsible for enabling the renderer side of mojo bindings. | 23 // WebUIMojo is responsible for enabling the renderer side of mojo bindings. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 int world_id) OVERRIDE; | 62 int world_id) OVERRIDE; |
| 63 | 63 |
| 64 MainFrameObserver main_frame_observer_; | 64 MainFrameObserver main_frame_observer_; |
| 65 | 65 |
| 66 DISALLOW_COPY_AND_ASSIGN(WebUIMojo); | 66 DISALLOW_COPY_AND_ASSIGN(WebUIMojo); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace content | 69 } // namespace content |
| 70 | 70 |
| 71 #endif // CONTENT_RENDERER_WEB_UI_MOJO_H_ | 71 #endif // CONTENT_RENDERER_WEB_UI_MOJO_H_ |
| OLD | NEW |