| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <queue> | 9 #include <queue> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 14 #include "base/gfx/point.h" | 14 #include "base/gfx/point.h" |
| 15 #include "base/gfx/rect.h" | 15 #include "base/gfx/rect.h" |
| 16 #include "base/id_map.h" | 16 #include "base/id_map.h" |
| 17 #include "base/shared_memory.h" | 17 #include "base/shared_memory.h" |
| 18 #include "base/timer.h" | 18 #include "base/timer.h" |
| 19 #include "base/values.h" | 19 #include "base/values.h" |
| 20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| 21 #include "chrome/renderer/automation/dom_automation_controller.h" | 21 #include "chrome/renderer/automation/dom_automation_controller.h" |
| 22 #include "chrome/renderer/dom_ui_bindings.h" | 22 #include "chrome/renderer/dom_ui_bindings.h" |
| 23 #include "chrome/renderer/external_host_bindings.h" | 23 #include "chrome/renderer/external_host_bindings.h" |
| 24 #include "chrome/renderer/external_js_object.h" | |
| 25 #include "chrome/renderer/render_widget.h" | 24 #include "chrome/renderer/render_widget.h" |
| 26 #include "skia/include/SkBitmap.h" | 25 #include "skia/include/SkBitmap.h" |
| 27 #include "testing/gtest/include/gtest/gtest_prod.h" | 26 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 28 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" | 27 #include "third_party/WebKit/WebKit/chromium/public/WebConsoleMessage.h" |
| 29 #include "webkit/glue/dom_serializer_delegate.h" | 28 #include "webkit/glue/dom_serializer_delegate.h" |
| 30 #include "webkit/glue/feed.h" | 29 #include "webkit/glue/feed.h" |
| 31 #include "webkit/glue/form_data.h" | 30 #include "webkit/glue/form_data.h" |
| 32 #include "webkit/glue/password_form_dom_manager.h" | 31 #include "webkit/glue/password_form_dom_manager.h" |
| 33 #include "webkit/glue/webaccessibilitymanager.h" | 32 #include "webkit/glue/webaccessibilitymanager.h" |
| 34 #include "webkit/glue/webview_delegate.h" | 33 #include "webkit/glue/webview_delegate.h" |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 // Bitwise-ORed set of extra bindings that have been enabled. See | 626 // Bitwise-ORed set of extra bindings that have been enabled. See |
| 628 // BindingsPolicy for details. | 627 // BindingsPolicy for details. |
| 629 int enabled_bindings_; | 628 int enabled_bindings_; |
| 630 | 629 |
| 631 // DOM Automation Controller CppBoundClass. | 630 // DOM Automation Controller CppBoundClass. |
| 632 DomAutomationController dom_automation_controller_; | 631 DomAutomationController dom_automation_controller_; |
| 633 | 632 |
| 634 // Chrome page<->browser messaging CppBoundClass. | 633 // Chrome page<->browser messaging CppBoundClass. |
| 635 DOMUIBindings dom_ui_bindings_; | 634 DOMUIBindings dom_ui_bindings_; |
| 636 | 635 |
| 637 // window.external object for "built-in" JS extensions | |
| 638 ExternalJSObject external_js_object_; | |
| 639 | |
| 640 // External host exposed through automation controller. | 636 // External host exposed through automation controller. |
| 641 ExternalHostBindings external_host_bindings_; | 637 ExternalHostBindings external_host_bindings_; |
| 642 | 638 |
| 643 // The last gotten main frame's encoding. | 639 // The last gotten main frame's encoding. |
| 644 std::wstring last_encoding_name_; | 640 std::wstring last_encoding_name_; |
| 645 | 641 |
| 646 // The URL we think the user's mouse is hovering over. We use this to | 642 // The URL we think the user's mouse is hovering over. We use this to |
| 647 // determine if we want to send a new one (we do not need to send | 643 // determine if we want to send a new one (we do not need to send |
| 648 // duplicates). | 644 // duplicates). |
| 649 GURL target_url_; | 645 GURL target_url_; |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 scoped_refptr<AudioMessageFilter> audio_message_filter_; | 794 scoped_refptr<AudioMessageFilter> audio_message_filter_; |
| 799 | 795 |
| 800 // The currently selected text. This is currently only updated on Linux, where | 796 // The currently selected text. This is currently only updated on Linux, where |
| 801 // it's for the selection clipboard. | 797 // it's for the selection clipboard. |
| 802 std::string selection_text_; | 798 std::string selection_text_; |
| 803 | 799 |
| 804 DISALLOW_COPY_AND_ASSIGN(RenderView); | 800 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 805 }; | 801 }; |
| 806 | 802 |
| 807 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 803 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |