| 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_unload) OVERRIDE; | 411 bool is_during_unload) OVERRIDE; |
| 411 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; | 412 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; |
| 412 virtual void LoadStateChanged(const GURL& url, | 413 virtual void LoadStateChanged(const GURL& url, |
| 413 const net::LoadStateWithParam& load_state, | 414 const net::LoadStateWithParam& load_state, |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 // Maps the ids of pending image downloads to their callbacks | 955 // Maps the ids of pending image downloads to their callbacks |
| 955 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 956 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 956 ImageDownloadMap image_download_map_; | 957 ImageDownloadMap image_download_map_; |
| 957 | 958 |
| 958 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 959 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 959 }; | 960 }; |
| 960 | 961 |
| 961 } // namespace content | 962 } // namespace content |
| 962 | 963 |
| 963 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 964 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |