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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 TranslateErrors::Type error_type); | 670 TranslateErrors::Type error_type); |
671 void OnContentBlocked(ContentSettingsType type, | 671 void OnContentBlocked(ContentSettingsType type, |
672 const std::string& resource_identifier); | 672 const std::string& resource_identifier); |
673 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); | 673 void OnAppCacheAccessed(const GURL& manifest_url, bool blocked_by_policy); |
674 void OnWebDatabaseAccessed(const GURL& url, | 674 void OnWebDatabaseAccessed(const GURL& url, |
675 const string16& name, | 675 const string16& name, |
676 const string16& display_name, | 676 const string16& display_name, |
677 unsigned long estimated_size, | 677 unsigned long estimated_size, |
678 bool blocked_by_policy); | 678 bool blocked_by_policy); |
679 void OnSetDisplayingPDFContent(); | 679 void OnSetDisplayingPDFContent(); |
| 680 void OnSetSuggestResult(int32 page_id, const std::string& result); |
680 | 681 |
681 private: | 682 private: |
682 friend class TestRenderViewHost; | 683 friend class TestRenderViewHost; |
683 | 684 |
684 // The SiteInstance associated with this RenderViewHost. All pages drawn | 685 // The SiteInstance associated with this RenderViewHost. All pages drawn |
685 // in this RenderViewHost are part of this SiteInstance. Should not change | 686 // in this RenderViewHost are part of this SiteInstance. Should not change |
686 // over time. | 687 // over time. |
687 scoped_refptr<SiteInstance> instance_; | 688 scoped_refptr<SiteInstance> instance_; |
688 | 689 |
689 // Our delegate, which wants to know about changes in the RenderView. | 690 // Our delegate, which wants to know about changes in the RenderView. |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 // Whether the accessibility tree should be saved, for unit testing. | 761 // Whether the accessibility tree should be saved, for unit testing. |
761 bool save_accessibility_tree_for_testing_; | 762 bool save_accessibility_tree_for_testing_; |
762 | 763 |
763 // The most recently received accessibility tree - for unit testing only. | 764 // The most recently received accessibility tree - for unit testing only. |
764 webkit_glue::WebAccessibility accessibility_tree_; | 765 webkit_glue::WebAccessibility accessibility_tree_; |
765 | 766 |
766 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 767 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
767 }; | 768 }; |
768 | 769 |
769 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 770 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |