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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 virtual int GetMaximumZoomPercent() const OVERRIDE; | 255 virtual int GetMaximumZoomPercent() const OVERRIDE; |
256 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 256 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
257 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 257 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
258 virtual bool HasOpener() const OVERRIDE; | 258 virtual bool HasOpener() const OVERRIDE; |
259 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; | 259 virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; |
260 virtual void DidEndColorChooser() OVERRIDE; | 260 virtual void DidEndColorChooser() OVERRIDE; |
261 virtual int DownloadImage(const GURL& url, | 261 virtual int DownloadImage(const GURL& url, |
262 bool is_favicon, | 262 bool is_favicon, |
263 uint32_t max_bitmap_size, | 263 uint32_t max_bitmap_size, |
264 const ImageDownloadCallback& callback) OVERRIDE; | 264 const ImageDownloadCallback& callback) OVERRIDE; |
| 265 virtual void PauseGeolocation() OVERRIDE; |
| 266 virtual void ResumeGeolocation() OVERRIDE; |
265 | 267 |
266 // Implementation of PageNavigator. | 268 // Implementation of PageNavigator. |
267 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; | 269 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; |
268 | 270 |
269 // Implementation of IPC::Sender. | 271 // Implementation of IPC::Sender. |
270 virtual bool Send(IPC::Message* message) OVERRIDE; | 272 virtual bool Send(IPC::Message* message) OVERRIDE; |
271 | 273 |
272 // RenderViewHostDelegate ---------------------------------------------------- | 274 // RenderViewHostDelegate ---------------------------------------------------- |
273 | 275 |
274 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; | 276 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 // Maps the ids of pending image downloads to their callbacks | 977 // Maps the ids of pending image downloads to their callbacks |
976 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 978 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
977 ImageDownloadMap image_download_map_; | 979 ImageDownloadMap image_download_map_; |
978 | 980 |
979 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 981 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
980 }; | 982 }; |
981 | 983 |
982 } // namespace content | 984 } // namespace content |
983 | 985 |
984 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 986 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |