| 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 virtual double GetZoomLevel() const OVERRIDE; | 252 virtual double GetZoomLevel() const OVERRIDE; |
| 253 virtual int GetZoomPercent(bool* enable_increment, | 253 virtual int GetZoomPercent(bool* enable_increment, |
| 254 bool* enable_decrement) const OVERRIDE; | 254 bool* enable_decrement) const OVERRIDE; |
| 255 virtual void ViewSource() OVERRIDE; | 255 virtual void ViewSource() OVERRIDE; |
| 256 virtual void ViewFrameSource(const GURL& url, | 256 virtual void ViewFrameSource(const GURL& url, |
| 257 const std::string& content_state) OVERRIDE; | 257 const std::string& content_state) OVERRIDE; |
| 258 virtual int GetMinimumZoomPercent() const OVERRIDE; | 258 virtual int GetMinimumZoomPercent() const OVERRIDE; |
| 259 virtual int GetMaximumZoomPercent() const OVERRIDE; | 259 virtual int GetMaximumZoomPercent() const OVERRIDE; |
| 260 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 260 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| 261 virtual int GetContentRestrictions() const OVERRIDE; | 261 virtual int GetContentRestrictions() const OVERRIDE; |
| 262 virtual WebUI* GetWebUIForCurrentState() OVERRIDE; | |
| 263 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 262 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
| 264 virtual bool HasOpener() const OVERRIDE; | 263 virtual bool HasOpener() const OVERRIDE; |
| 265 virtual void DidChooseColorInColorChooser(int color_chooser_id, | 264 virtual void DidChooseColorInColorChooser(int color_chooser_id, |
| 266 SkColor color) OVERRIDE; | 265 SkColor color) OVERRIDE; |
| 267 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; | 266 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; |
| 268 virtual int DownloadImage(const GURL& url, | 267 virtual int DownloadImage(const GURL& url, |
| 269 bool is_favicon, | 268 bool is_favicon, |
| 270 int image_size, | 269 int image_size, |
| 271 const ImageDownloadCallback& callback) OVERRIDE; | 270 const ImageDownloadCallback& callback) OVERRIDE; |
| 272 | 271 |
| (...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 // Maps the ids of pending image downloads to their callbacks | 873 // Maps the ids of pending image downloads to their callbacks |
| 875 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 874 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 876 ImageDownloadMap image_download_map_; | 875 ImageDownloadMap image_download_map_; |
| 877 | 876 |
| 878 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 877 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 879 }; | 878 }; |
| 880 | 879 |
| 881 } // namespace content | 880 } // namespace content |
| 882 | 881 |
| 883 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 882 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |