| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 // when layout() recomputes it but it doesn't actually change. | 905 // when layout() recomputes it but it doesn't actually change. |
| 906 int preferred_width_; | 906 int preferred_width_; |
| 907 | 907 |
| 908 // If true, we send IPC messages when the preferred width changes. | 908 // If true, we send IPC messages when the preferred width changes. |
| 909 bool send_preferred_width_changes_; | 909 bool send_preferred_width_changes_; |
| 910 | 910 |
| 911 // The text selection the last time DidChangeSelection got called. | 911 // The text selection the last time DidChangeSelection got called. |
| 912 std::string last_selection_; | 912 std::string last_selection_; |
| 913 | 913 |
| 914 // Hopds a reference to the service which provides desktop notifications. | 914 // Hopds a reference to the service which provides desktop notifications. |
| 915 scoped_refptr<NotificationProvider> notification_provider_; | 915 scoped_ptr<NotificationProvider> notification_provider_; |
| 916 | 916 |
| 917 // Set to true if request for capturing page text has been made. | 917 // Set to true if request for capturing page text has been made. |
| 918 bool determine_page_text_after_loading_stops_; | 918 bool determine_page_text_after_loading_stops_; |
| 919 | 919 |
| 920 // Holds state pertaining to a navigation that we initiated. This is held by | 920 // Holds state pertaining to a navigation that we initiated. This is held by |
| 921 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ | 921 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ |
| 922 // as a temporary holder for the state until the WebDataSource corresponding | 922 // as a temporary holder for the state until the WebDataSource corresponding |
| 923 // to the new navigation is created. See DidCreateDataSource. | 923 // to the new navigation is created. See DidCreateDataSource. |
| 924 scoped_ptr<NavigationState> pending_navigation_state_; | 924 scoped_ptr<NavigationState> pending_navigation_state_; |
| 925 | 925 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 // ImageResourceFetchers schedule via DownloadImage. | 982 // ImageResourceFetchers schedule via DownloadImage. |
| 983 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 983 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
| 984 ImageResourceFetcherSet image_fetchers_; | 984 ImageResourceFetcherSet image_fetchers_; |
| 985 | 985 |
| 986 typedef std::map<WebView*, RenderView*> ViewMap; | 986 typedef std::map<WebView*, RenderView*> ViewMap; |
| 987 | 987 |
| 988 DISALLOW_COPY_AND_ASSIGN(RenderView); | 988 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 989 }; | 989 }; |
| 990 | 990 |
| 991 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 991 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |