| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // Called when a render view's compositor instance is created, when the | 245 // Called when a render view's compositor instance is created, when the |
| 246 // kEnableSynchronousRendererCompositor flag is used. | 246 // kEnableSynchronousRendererCompositor flag is used. |
| 247 // NOTE this is called on the Compositor thread: the embedder must | 247 // NOTE this is called on the Compositor thread: the embedder must |
| 248 // implement OverrideCompositorMessageLoop() when using this interface. | 248 // implement OverrideCompositorMessageLoop() when using this interface. |
| 249 virtual void DidCreateSynchronousCompositor( | 249 virtual void DidCreateSynchronousCompositor( |
| 250 int render_view_id, | 250 int render_view_id, |
| 251 SynchronousCompositor* compositor) {} | 251 SynchronousCompositor* compositor) {} |
| 252 | 252 |
| 253 // Allow the embedder to disable input event filtering by the compositor. | 253 // Allow the embedder to disable input event filtering by the compositor. |
| 254 virtual bool ShouldCreateCompositorInputHandler() const; | 254 virtual bool ShouldCreateCompositorInputHandler() const; |
| 255 |
| 256 virtual void InitWebRtcLogging(const std::string& app_session_id) {} |
| 255 }; | 257 }; |
| 256 | 258 |
| 257 } // namespace content | 259 } // namespace content |
| 258 | 260 |
| 259 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ | 261 #endif // CONTENT_PUBLIC_RENDERER_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |