| 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/feature/engine_render_widget_feature.h" | 5 #include "blimp/engine/feature/engine_render_widget_feature.h" |
| 6 | 6 |
| 7 #include "base/numerics/safe_conversions.h" | 7 #include "base/numerics/safe_conversions.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "base/threading/thread_task_runner_handle.h" |
| 9 #include "blimp/common/create_blimp_message.h" | 10 #include "blimp/common/create_blimp_message.h" |
| 10 #include "blimp/common/proto/blimp_message.pb.h" | 11 #include "blimp/common/proto/blimp_message.pb.h" |
| 11 #include "blimp/common/proto/compositor.pb.h" | 12 #include "blimp/common/proto/compositor.pb.h" |
| 12 #include "blimp/common/proto/input.pb.h" | 13 #include "blimp/common/proto/input.pb.h" |
| 13 #include "blimp/common/proto/render_widget.pb.h" | 14 #include "blimp/common/proto/render_widget.pb.h" |
| 14 #include "blimp/net/input_message_converter.h" | 15 #include "blimp/net/input_message_converter.h" |
| 15 #include "content/public/browser/render_widget_host.h" | 16 #include "content/public/browser/render_widget_host.h" |
| 16 #include "content/public/browser/render_widget_host_view.h" | 17 #include "content/public/browser/render_widget_host_view.h" |
| 17 #include "content/public/common/form_field_data.h" | 18 #include "content/public/common/form_field_data.h" |
| 18 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 IdToRenderWidgetMap::const_iterator widget_id_it = | 391 IdToRenderWidgetMap::const_iterator widget_id_it = |
| 391 id_to_render_widget->find(render_widget_id); | 392 id_to_render_widget->find(render_widget_id); |
| 392 if (widget_id_it == id_to_render_widget->end()) | 393 if (widget_id_it == id_to_render_widget->end()) |
| 393 return nullptr; | 394 return nullptr; |
| 394 | 395 |
| 395 return widget_id_it->second; | 396 return widget_id_it->second; |
| 396 } | 397 } |
| 397 | 398 |
| 398 } // namespace engine | 399 } // namespace engine |
| 399 } // namespace blimp | 400 } // namespace blimp |
| OLD | NEW |