| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/public/renderer/content_renderer_client.h" | 8 #include "content/public/renderer/content_renderer_client.h" |
| 9 | 9 |
| 10 #include "android_webview/renderer/aw_render_process_observer.h" | 10 #include "android_webview/renderer/aw_render_process_observer.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "ui/gl/gpu_memory_buffer.h" | |
| 13 | 12 |
| 14 namespace components { | 13 namespace components { |
| 15 class VisitedLinkSlave; | 14 class VisitedLinkSlave; |
| 16 } // namespace components | 15 } // namespace components |
| 17 | 16 |
| 18 namespace android_webview { | 17 namespace android_webview { |
| 19 | 18 |
| 20 class AwContentRendererClient : public content::ContentRendererClient { | 19 class AwContentRendererClient : public content::ContentRendererClient { |
| 21 public: | 20 public: |
| 22 typedef MessageLoop* CompositorMessageLoopGetter(); | 21 typedef MessageLoop* CompositorMessageLoopGetter(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 47 private: | 46 private: |
| 48 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; | 47 scoped_ptr<AwRenderProcessObserver> aw_render_process_observer_; |
| 49 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; | 48 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; |
| 50 CompositorMessageLoopGetter* compositor_message_loop_getter_; | 49 CompositorMessageLoopGetter* compositor_message_loop_getter_; |
| 51 bool should_create_compositor_input_handler_; | 50 bool should_create_compositor_input_handler_; |
| 52 }; | 51 }; |
| 53 | 52 |
| 54 } // namespace android_webview | 53 } // namespace android_webview |
| 55 | 54 |
| 56 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ | 55 #endif // ANDROID_WEBVIEW_RENDERER_AW_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |