OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 scoped_refptr<SharedRenderViewCounter> shared_popup_counter_; | 686 scoped_refptr<SharedRenderViewCounter> shared_popup_counter_; |
687 | 687 |
688 // Whether this is a top level window (instead of a popup). Top level windows | 688 // Whether this is a top level window (instead of a popup). Top level windows |
689 // shouldn't count against their own |shared_popup_counter_|. | 689 // shouldn't count against their own |shared_popup_counter_|. |
690 bool decrement_shared_popup_at_destruction_; | 690 bool decrement_shared_popup_at_destruction_; |
691 | 691 |
692 // Handles accessibility requests into the renderer side, as well as | 692 // Handles accessibility requests into the renderer side, as well as |
693 // maintains the cache and other features of the accessibility tree. | 693 // maintains the cache and other features of the accessibility tree. |
694 scoped_ptr<GlueAccessibility> glue_accessibility_; | 694 scoped_ptr<GlueAccessibility> glue_accessibility_; |
695 | 695 |
696 // True if Greasemonkey is enabled in this process. | 696 // True if user scripts are enabled in this process. |
697 bool greasemonkey_enabled_; | 697 bool user_scripts_enabled_; |
698 | 698 |
699 // Resource message queue. Used to queue up resource IPCs if we need | 699 // Resource message queue. Used to queue up resource IPCs if we need |
700 // to wait for an ACK from the browser before proceeding. | 700 // to wait for an ACK from the browser before proceeding. |
701 std::queue<IPC::Message*> queued_resource_messages_; | 701 std::queue<IPC::Message*> queued_resource_messages_; |
702 | 702 |
703 // Set if we are waiting for an ack for ViewHostMsg_CreateWindow | 703 // Set if we are waiting for an ack for ViewHostMsg_CreateWindow |
704 bool waiting_for_create_window_ack_; | 704 bool waiting_for_create_window_ack_; |
705 | 705 |
706 // The id of the last request sent for form field autofill. Used to ignore | 706 // The id of the last request sent for form field autofill. Used to ignore |
707 // out of date responses. | 707 // out of date responses. |
(...skipping 16 matching lines...) Expand all Loading... |
724 // Time in seconds of the delay between syncing page state such as form | 724 // Time in seconds of the delay between syncing page state such as form |
725 // elements and scroll position. This timeout allows us to avoid spamming the | 725 // elements and scroll position. This timeout allows us to avoid spamming the |
726 // browser process with every little thing that changes. This normally doesn't | 726 // browser process with every little thing that changes. This normally doesn't |
727 // change but is overridden by tests. | 727 // change but is overridden by tests. |
728 int delay_seconds_for_form_state_sync_; | 728 int delay_seconds_for_form_state_sync_; |
729 | 729 |
730 DISALLOW_COPY_AND_ASSIGN(RenderView); | 730 DISALLOW_COPY_AND_ASSIGN(RenderView); |
731 }; | 731 }; |
732 | 732 |
733 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 733 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
OLD | NEW |