| 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 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 | 927 |
| 928 // If true, we send IPC messages when |preferred_size_| changes. | 928 // If true, we send IPC messages when |preferred_size_| changes. |
| 929 bool send_preferred_size_changes_; | 929 bool send_preferred_size_changes_; |
| 930 | 930 |
| 931 // The text selection the last time DidChangeSelection got called. | 931 // The text selection the last time DidChangeSelection got called. |
| 932 std::string last_selection_; | 932 std::string last_selection_; |
| 933 | 933 |
| 934 // Hopds a reference to the service which provides desktop notifications. | 934 // Hopds a reference to the service which provides desktop notifications. |
| 935 scoped_ptr<NotificationProvider> notification_provider_; | 935 scoped_ptr<NotificationProvider> notification_provider_; |
| 936 | 936 |
| 937 // Set to true if request for capturing page text has been made. |
| 938 bool determine_page_text_after_loading_stops_; |
| 939 |
| 937 // Holds state pertaining to a navigation that we initiated. This is held by | 940 // Holds state pertaining to a navigation that we initiated. This is held by |
| 938 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ | 941 // the WebDataSource::ExtraData attribute. We use pending_navigation_state_ |
| 939 // as a temporary holder for the state until the WebDataSource corresponding | 942 // as a temporary holder for the state until the WebDataSource corresponding |
| 940 // to the new navigation is created. See DidCreateDataSource. | 943 // to the new navigation is created. See DidCreateDataSource. |
| 941 scoped_ptr<NavigationState> pending_navigation_state_; | 944 scoped_ptr<NavigationState> pending_navigation_state_; |
| 942 | 945 |
| 943 // PrintWebViewHelper handles printing. Note that this object is constructed | 946 // PrintWebViewHelper handles printing. Note that this object is constructed |
| 944 // when printing for the first time but only destroyed with the RenderView. | 947 // when printing for the first time but only destroyed with the RenderView. |
| 945 scoped_ptr<PrintWebViewHelper> print_helper_; | 948 scoped_ptr<PrintWebViewHelper> print_helper_; |
| 946 | 949 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 ImageResourceFetcherSet image_fetchers_; | 982 ImageResourceFetcherSet image_fetchers_; |
| 980 | 983 |
| 981 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; | 984 typedef std::map<WebKit::WebView*, RenderView*> ViewMap; |
| 982 | 985 |
| 983 HostZoomLevels host_zoom_levels_; | 986 HostZoomLevels host_zoom_levels_; |
| 984 | 987 |
| 985 DISALLOW_COPY_AND_ASSIGN(RenderView); | 988 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 986 }; | 989 }; |
| 987 | 990 |
| 988 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 991 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |