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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 virtual int GetMaximumZoomPercent() const OVERRIDE; | 266 virtual int GetMaximumZoomPercent() const OVERRIDE; |
267 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 267 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
268 virtual int GetContentRestrictions() const OVERRIDE; | 268 virtual int GetContentRestrictions() const OVERRIDE; |
269 virtual WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; | 269 virtual WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; |
270 virtual WebUI* GetWebUIForCurrentState() OVERRIDE; | 270 virtual WebUI* GetWebUIForCurrentState() OVERRIDE; |
271 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 271 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
272 virtual bool HasOpener() const OVERRIDE; | 272 virtual bool HasOpener() const OVERRIDE; |
273 virtual void DidChooseColorInColorChooser(int color_chooser_id, | 273 virtual void DidChooseColorInColorChooser(int color_chooser_id, |
274 SkColor color) OVERRIDE; | 274 SkColor color) OVERRIDE; |
275 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; | 275 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; |
276 virtual int DownloadFavicon(const GURL& url, int image_size, | 276 virtual int DownloadFavicon(const GURL& url, |
| 277 bool is_favicon, |
| 278 int image_size, |
277 const FaviconDownloadCallback& callback) OVERRIDE; | 279 const FaviconDownloadCallback& callback) OVERRIDE; |
278 | 280 |
279 // Implementation of PageNavigator. | 281 // Implementation of PageNavigator. |
280 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 282 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
281 | 283 |
282 // Implementation of IPC::Sender. | 284 // Implementation of IPC::Sender. |
283 virtual bool Send(IPC::Message* message) OVERRIDE; | 285 virtual bool Send(IPC::Message* message) OVERRIDE; |
284 | 286 |
285 // RenderViewHostDelegate ---------------------------------------------------- | 287 // RenderViewHostDelegate ---------------------------------------------------- |
286 | 288 |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 // Maps the ids of pending favicon downloads to their callbacks | 886 // Maps the ids of pending favicon downloads to their callbacks |
885 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 887 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
886 FaviconDownloadMap favicon_download_map_; | 888 FaviconDownloadMap favicon_download_map_; |
887 | 889 |
888 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 890 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
889 }; | 891 }; |
890 | 892 |
891 } // namespace content | 893 } // namespace content |
892 | 894 |
893 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 895 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |