| 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 // TODO(creis): Move to RenderFrameHost and RenderWidgetHost. | 386 // TODO(creis): Move to RenderFrameHost and RenderWidgetHost. |
| 387 // See http://crbug.com/418265. | 387 // See http://crbug.com/418265. |
| 388 bool is_waiting_for_close_ack_; | 388 bool is_waiting_for_close_ack_; |
| 389 | 389 |
| 390 // True if the render view can be shut down suddenly. | 390 // True if the render view can be shut down suddenly. |
| 391 bool sudden_termination_allowed_; | 391 bool sudden_termination_allowed_; |
| 392 | 392 |
| 393 // The termination status of the last render view that terminated. | 393 // The termination status of the last render view that terminated. |
| 394 base::TerminationStatus render_view_termination_status_; | 394 base::TerminationStatus render_view_termination_status_; |
| 395 | 395 |
| 396 // Set to true if we requested the on screen keyboard to be displayed. | |
| 397 bool virtual_keyboard_requested_; | |
| 398 | |
| 399 // True if the current focused element is editable. | 396 // True if the current focused element is editable. |
| 400 bool is_focused_element_editable_; | 397 bool is_focused_element_editable_; |
| 401 | 398 |
| 402 // This is updated every time UpdateWebkitPreferences is called. That method | 399 // This is updated every time UpdateWebkitPreferences is called. That method |
| 403 // is in turn called when any of the settings change that the WebPreferences | 400 // is in turn called when any of the settings change that the WebPreferences |
| 404 // values depend on. | 401 // values depend on. |
| 405 std::unique_ptr<WebPreferences> web_preferences_; | 402 std::unique_ptr<WebPreferences> web_preferences_; |
| 406 | 403 |
| 407 bool updating_web_preferences_; | 404 bool updating_web_preferences_; |
| 408 | 405 |
| 409 bool render_view_ready_on_process_launch_; | 406 bool render_view_ready_on_process_launch_; |
| 410 | 407 |
| 411 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; | 408 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; |
| 412 | 409 |
| 413 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 410 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
| 414 }; | 411 }; |
| 415 | 412 |
| 416 } // namespace content | 413 } // namespace content |
| 417 | 414 |
| 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 415 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
| OLD | NEW |