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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 bool user_gesture, | 401 bool user_gesture, |
402 IPC::Message* reply_msg, | 402 IPC::Message* reply_msg, |
403 bool* did_suppress_message) OVERRIDE; | 403 bool* did_suppress_message) OVERRIDE; |
404 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh, | 404 virtual void RunBeforeUnloadConfirm(RenderViewHost* rvh, |
405 const string16& message, | 405 const string16& message, |
406 bool is_reload, | 406 bool is_reload, |
407 IPC::Message* reply_msg) OVERRIDE; | 407 IPC::Message* reply_msg) OVERRIDE; |
408 virtual bool AddMessageToConsole(int32 level, | 408 virtual bool AddMessageToConsole(int32 level, |
409 const string16& message, | 409 const string16& message, |
410 int32 line_no, | 410 int32 line_no, |
411 const string16& source_id, | 411 const string16& source_id) OVERRIDE; |
412 const string16& stack_trace) OVERRIDE; | |
413 virtual RendererPreferences GetRendererPrefs( | 412 virtual RendererPreferences GetRendererPrefs( |
414 BrowserContext* browser_context) const OVERRIDE; | 413 BrowserContext* browser_context) const OVERRIDE; |
415 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 414 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
416 virtual void OnUserGesture() OVERRIDE; | 415 virtual void OnUserGesture() OVERRIDE; |
417 virtual void OnIgnoredUIEvent() OVERRIDE; | 416 virtual void OnIgnoredUIEvent() OVERRIDE; |
418 virtual void RendererUnresponsive(RenderViewHost* render_view_host, | 417 virtual void RendererUnresponsive(RenderViewHost* render_view_host, |
419 bool is_during_beforeunload, | 418 bool is_during_beforeunload, |
420 bool is_during_unload) OVERRIDE; | 419 bool is_during_unload) OVERRIDE; |
421 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; | 420 virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE; |
422 virtual void LoadStateChanged(const GURL& url, | 421 virtual void LoadStateChanged(const GURL& url, |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 // Maps the ids of pending image downloads to their callbacks | 967 // Maps the ids of pending image downloads to their callbacks |
969 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 968 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
970 ImageDownloadMap image_download_map_; | 969 ImageDownloadMap image_download_map_; |
971 | 970 |
972 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 971 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
973 }; | 972 }; |
974 | 973 |
975 } // namespace content | 974 } // namespace content |
976 | 975 |
977 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 976 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |