| 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_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 536 // restore to account for the fact that our host would not know about the | 536 // restore to account for the fact that our host would not know about the |
| 537 // invalidation / scroll event(s) from webkit while we are hidden. | 537 // invalidation / scroll event(s) from webkit while we are hidden. |
| 538 bool needs_repainting_on_restore_; | 538 bool needs_repainting_on_restore_; |
| 539 | 539 |
| 540 // Indicates whether we have been focused/unfocused by the browser. | 540 // Indicates whether we have been focused/unfocused by the browser. |
| 541 bool has_focus_; | 541 bool has_focus_; |
| 542 | 542 |
| 543 // Are we currently handling an input event? | 543 // Are we currently handling an input event? |
| 544 bool handling_input_event_; | 544 bool handling_input_event_; |
| 545 | 545 |
| 546 // Are we currently handling an ime event? |
| 547 bool handling_ime_event_; |
| 548 |
| 546 // True if we have requested this widget be closed. No more messages will | 549 // True if we have requested this widget be closed. No more messages will |
| 547 // be sent, except for a Close. | 550 // be sent, except for a Close. |
| 548 bool closing_; | 551 bool closing_; |
| 549 | 552 |
| 550 // Whether this RenderWidget is currently swapped out, such that the view is | 553 // Whether this RenderWidget is currently swapped out, such that the view is |
| 551 // being rendered by another process. If all RenderWidgets in a process are | 554 // being rendered by another process. If all RenderWidgets in a process are |
| 552 // swapped out, the process can exit. | 555 // swapped out, the process can exit. |
| 553 bool is_swapped_out_; | 556 bool is_swapped_out_; |
| 554 | 557 |
| 555 // Indicates if an input method is active in the browser process. | 558 // Indicates if an input method is active in the browser process. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 | 644 |
| 642 // Specified whether the compositor will run in its own thread. | 645 // Specified whether the compositor will run in its own thread. |
| 643 bool is_threaded_compositing_enabled_; | 646 bool is_threaded_compositing_enabled_; |
| 644 | 647 |
| 645 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 648 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 646 }; | 649 }; |
| 647 | 650 |
| 648 } // namespace content | 651 } // namespace content |
| 649 | 652 |
| 650 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 653 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |