| 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 virtual void LoadNavigationErrorPage( | 168 virtual void LoadNavigationErrorPage( |
| 169 WebKit::WebFrame* frame, | 169 WebKit::WebFrame* frame, |
| 170 const WebKit::WebURLRequest& failed_request, | 170 const WebKit::WebURLRequest& failed_request, |
| 171 const WebKit::WebURLError& error, | 171 const WebKit::WebURLError& error, |
| 172 const std::string& html, | 172 const std::string& html, |
| 173 bool replace); | 173 bool replace); |
| 174 virtual void OnMissingPluginStatus( | 174 virtual void OnMissingPluginStatus( |
| 175 WebPluginDelegateProxy* delegate, | 175 WebPluginDelegateProxy* delegate, |
| 176 int status); | 176 int status); |
| 177 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate(); | 177 virtual WebDevToolsAgentDelegate* GetWebDevToolsAgentDelegate(); |
| 178 virtual bool WasOpenedByUserGesture() const; | |
| 179 virtual void UserMetricsRecordAction(const std::wstring& action); | 178 virtual void UserMetricsRecordAction(const std::wstring& action); |
| 180 virtual void DnsPrefetch(const std::vector<std::string>& host_names); | 179 virtual void DnsPrefetch(const std::vector<std::string>& host_names); |
| 181 | 180 |
| 182 // WebKit::WebViewClient | 181 // WebKit::WebViewClient |
| 183 virtual WebView* createView(WebKit::WebFrame* creator); | 182 virtual WebView* createView(WebKit::WebFrame* creator); |
| 184 virtual WebKit::WebWidget* createPopupMenu(bool activatable); | 183 virtual WebKit::WebWidget* createPopupMenu(bool activatable); |
| 185 virtual WebKit::WebWidget* createPopupMenu( | 184 virtual WebKit::WebWidget* createPopupMenu( |
| 186 const WebKit::WebPopupMenuInfo& info); | 185 const WebKit::WebPopupMenuInfo& info); |
| 187 virtual void didAddMessageToConsole( | 186 virtual void didAddMessageToConsole( |
| 188 const WebKit::WebConsoleMessage& message, | 187 const WebKit::WebConsoleMessage& message, |
| (...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 // ImageResourceFetchers schedule via DownloadImage. | 982 // ImageResourceFetchers schedule via DownloadImage. |
| 984 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; | 983 typedef std::set<webkit_glue::ImageResourceFetcher*> ImageResourceFetcherSet; |
| 985 ImageResourceFetcherSet image_fetchers_; | 984 ImageResourceFetcherSet image_fetchers_; |
| 986 | 985 |
| 987 typedef std::map<WebView*, RenderView*> ViewMap; | 986 typedef std::map<WebView*, RenderView*> ViewMap; |
| 988 | 987 |
| 989 DISALLOW_COPY_AND_ASSIGN(RenderView); | 988 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 990 }; | 989 }; |
| 991 | 990 |
| 992 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 991 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |