OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 JavaScriptMessageType type, | 393 JavaScriptMessageType type, |
394 IPC::Message* reply_msg, | 394 IPC::Message* reply_msg, |
395 bool* did_suppress_message) OVERRIDE; | 395 bool* did_suppress_message) OVERRIDE; |
396 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh, | 396 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh, |
397 const string16& message, | 397 const string16& message, |
398 bool is_reload, | 398 bool is_reload, |
399 IPC::Message* reply_msg) OVERRIDE; | 399 IPC::Message* reply_msg) OVERRIDE; |
400 virtual bool AddMessageToConsole(int32 level, | 400 virtual bool AddMessageToConsole(int32 level, |
401 const string16& message, | 401 const string16& message, |
402 int32 line_no, | 402 int32 line_no, |
403 const string16& source_id) OVERRIDE; | 403 const string16& source_id, |
| 404 const string16& stack_trace) OVERRIDE; |
404 virtual RendererPreferences GetRendererPrefs( | 405 virtual RendererPreferences GetRendererPrefs( |
405 BrowserContext* browser_context) const OVERRIDE; | 406 BrowserContext* browser_context) const OVERRIDE; |
406 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 407 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
407 virtual void OnUserGesture() OVERRIDE; | 408 virtual void OnUserGesture() OVERRIDE; |
408 virtual void OnIgnoredUIEvent() OVERRIDE; | 409 virtual void OnIgnoredUIEvent() OVERRIDE; |
409 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 410 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
410 bool is_during_beforeunload, | 411 bool is_during_beforeunload, |
411 bool is_during_unload) OVERRIDE; | 412 bool is_during_unload) OVERRIDE; |
412 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; | 413 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; |
413 virtual void LoadStateChanged(const GURL& url, | 414 virtual void LoadStateChanged(const GURL& url, |
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 // Maps the ids of pending image downloads to their callbacks | 957 // Maps the ids of pending image downloads to their callbacks |
957 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 958 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
958 ImageDownloadMap image_download_map_; | 959 ImageDownloadMap image_download_map_; |
959 | 960 |
960 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 961 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
961 }; | 962 }; |
962 | 963 |
963 } // namespace content | 964 } // namespace content |
964 | 965 |
965 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 966 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |