Chromium Code Reviews| 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 531 // restore to account for the fact that our host would not know about the | 531 // restore to account for the fact that our host would not know about the |
| 532 // invalidation / scroll event(s) from webkit while we are hidden. | 532 // invalidation / scroll event(s) from webkit while we are hidden. |
| 533 bool needs_repainting_on_restore_; | 533 bool needs_repainting_on_restore_; |
| 534 | 534 |
| 535 // Indicates whether we have been focused/unfocused by the browser. | 535 // Indicates whether we have been focused/unfocused by the browser. |
| 536 bool has_focus_; | 536 bool has_focus_; |
| 537 | 537 |
| 538 // Are we currently handling an input event? | 538 // Are we currently handling an input event? |
| 539 bool handling_input_event_; | 539 bool handling_input_event_; |
| 540 | 540 |
| 541 // Are we currently handling an ime event? | |
|
Seigo Nonaka
2013/01/31 06:19:14
We must call UpdateTextInputState every time after
aurimas (slooooooooow)
2013/01/31 06:31:13
This bool is just used to make sure that we don't
| |
| 542 bool handling_ime_event_; | |
| 543 | |
| 541 // True if we have requested this widget be closed. No more messages will | 544 // True if we have requested this widget be closed. No more messages will |
| 542 // be sent, except for a Close. | 545 // be sent, except for a Close. |
| 543 bool closing_; | 546 bool closing_; |
| 544 | 547 |
| 545 // Whether this RenderWidget is currently swapped out, such that the view is | 548 // Whether this RenderWidget is currently swapped out, such that the view is |
| 546 // being rendered by another process. If all RenderWidgets in a process are | 549 // being rendered by another process. If all RenderWidgets in a process are |
| 547 // swapped out, the process can exit. | 550 // swapped out, the process can exit. |
| 548 bool is_swapped_out_; | 551 bool is_swapped_out_; |
| 549 | 552 |
| 550 // Indicates if an input method is active in the browser process. | 553 // Indicates if an input method is active in the browser process. |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 636 | 639 |
| 637 // Specified whether the compositor will run in its own thread. | 640 // Specified whether the compositor will run in its own thread. |
| 638 bool is_threaded_compositing_enabled_; | 641 bool is_threaded_compositing_enabled_; |
| 639 | 642 |
| 640 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 643 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 641 }; | 644 }; |
| 642 | 645 |
| 643 } // namespace content | 646 } // namespace content |
| 644 | 647 |
| 645 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 648 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |