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 #include "content/renderer/render_widget.h" | 5 #include "content/renderer/render_widget.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 text_input_mode_(ui::TEXT_INPUT_MODE_DEFAULT), | 363 text_input_mode_(ui::TEXT_INPUT_MODE_DEFAULT), |
364 text_input_flags_(0), | 364 text_input_flags_(0), |
365 can_compose_inline_(true), | 365 can_compose_inline_(true), |
366 composition_range_(gfx::Range::InvalidRange()), | 366 composition_range_(gfx::Range::InvalidRange()), |
367 popup_type_(popup_type), | 367 popup_type_(popup_type), |
368 pending_window_rect_count_(0), | 368 pending_window_rect_count_(0), |
369 screen_info_(screen_info), | 369 screen_info_(screen_info), |
370 device_scale_factor_(screen_info_.device_scale_factor), | 370 device_scale_factor_(screen_info_.device_scale_factor), |
371 monitor_composition_info_(false), | 371 monitor_composition_info_(false), |
372 popup_origin_scale_for_emulation_(0.f), | 372 popup_origin_scale_for_emulation_(0.f), |
373 frame_swap_message_queue_(new FrameSwapMessageQueue()), | 373 frame_swap_message_queue_(new FrameSwapMessageQueue(routing_id_)), |
374 resizing_mode_selector_(new ResizingModeSelector()), | 374 resizing_mode_selector_(new ResizingModeSelector()), |
375 has_host_context_menu_location_(false), | 375 has_host_context_menu_location_(false), |
376 has_added_input_handler_(false), | 376 has_added_input_handler_(false), |
377 has_focus_(false), | 377 has_focus_(false), |
378 #if defined(OS_MACOSX) | 378 #if defined(OS_MACOSX) |
379 text_input_client_observer_(new TextInputClientObserver(this)), | 379 text_input_client_observer_(new TextInputClientObserver(this)), |
380 #endif | 380 #endif |
381 focused_pepper_plugin_(nullptr), | 381 focused_pepper_plugin_(nullptr), |
382 time_to_first_active_paint_recorded_(true), | 382 time_to_first_active_paint_recorded_(true), |
383 was_shown_time_(base::TimeTicks::Now()), | 383 was_shown_time_(base::TimeTicks::Now()), |
(...skipping 1957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2341 // browser side (https://crbug.com/669219). | 2341 // browser side (https://crbug.com/669219). |
2342 // If there is no WebFrameWidget, then there will be no | 2342 // If there is no WebFrameWidget, then there will be no |
2343 // InputMethodControllers for a WebLocalFrame. | 2343 // InputMethodControllers for a WebLocalFrame. |
2344 return nullptr; | 2344 return nullptr; |
2345 } | 2345 } |
2346 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) | 2346 return static_cast<blink::WebFrameWidget*>(GetWebWidget()) |
2347 ->GetActiveWebInputMethodController(); | 2347 ->GetActiveWebInputMethodController(); |
2348 } | 2348 } |
2349 | 2349 |
2350 } // namespace content | 2350 } // namespace content |
OLD | NEW |