OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 const GURL& source_url, | 626 const GURL& source_url, |
627 int request_id, | 627 int request_id, |
628 bool has_callback); | 628 bool has_callback); |
629 void OnExtensionPostMessage(int port_id, const std::string& message); | 629 void OnExtensionPostMessage(int port_id, const std::string& message); |
630 void OnAccessibilityFocusChange(int acc_obj_id); | 630 void OnAccessibilityFocusChange(int acc_obj_id); |
631 void OnAccessibilityObjectStateChange(int acc_obj_id); | 631 void OnAccessibilityObjectStateChange(int acc_obj_id); |
632 void OnAccessibilityTree(const webkit_glue::WebAccessibility& tree); | 632 void OnAccessibilityTree(const webkit_glue::WebAccessibility& tree); |
633 void OnCSSInserted(); | 633 void OnCSSInserted(); |
634 void OnPageContents(const GURL& url, | 634 void OnPageContents(const GURL& url, |
635 int32 page_id, | 635 int32 page_id, |
636 const string16& contents, | 636 const std::wstring& contents, |
637 const std::string& language); | 637 const std::string& language); |
638 void OnPageTranslated(int32 page_id, | 638 void OnPageTranslated(int32 page_id, |
639 const std::string& original_lang, | 639 const std::string& original_lang, |
640 const std::string& translated_lang, | 640 const std::string& translated_lang, |
641 TranslateErrors::Type error_type); | 641 TranslateErrors::Type error_type); |
642 void OnContentBlocked(ContentSettingsType type); | 642 void OnContentBlocked(ContentSettingsType type); |
643 | 643 |
644 private: | 644 private: |
645 friend class TestRenderViewHost; | 645 friend class TestRenderViewHost; |
646 | 646 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 int64 session_storage_namespace_id_; | 709 int64 session_storage_namespace_id_; |
710 | 710 |
711 // Whether this render view will be used for extensions. This controls | 711 // Whether this render view will be used for extensions. This controls |
712 // what process type we use. | 712 // what process type we use. |
713 bool is_extension_process_; | 713 bool is_extension_process_; |
714 | 714 |
715 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 715 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
716 }; | 716 }; |
717 | 717 |
718 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 718 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |