| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 238 |
| 239 virtual const std::string& GetContentsMimeType() const OVERRIDE; | 239 virtual const std::string& GetContentsMimeType() const OVERRIDE; |
| 240 virtual bool WillNotifyDisconnection() const OVERRIDE; | 240 virtual bool WillNotifyDisconnection() const OVERRIDE; |
| 241 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; | 241 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; |
| 242 virtual void ResetOverrideEncoding() OVERRIDE; | 242 virtual void ResetOverrideEncoding() OVERRIDE; |
| 243 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; | 243 virtual RendererPreferences* GetMutableRendererPrefs() OVERRIDE; |
| 244 virtual void SetNewTabStartTime(const base::TimeTicks& time) OVERRIDE; | 244 virtual void SetNewTabStartTime(const base::TimeTicks& time) OVERRIDE; |
| 245 virtual base::TimeTicks GetNewTabStartTime() const OVERRIDE; | 245 virtual base::TimeTicks GetNewTabStartTime() const OVERRIDE; |
| 246 virtual void Close() OVERRIDE; | 246 virtual void Close() OVERRIDE; |
| 247 virtual void OnCloseStarted() OVERRIDE; | 247 virtual void OnCloseStarted() OVERRIDE; |
| 248 virtual bool ShouldAcceptDragAndDrop() const OVERRIDE; | |
| 249 virtual void SystemDragEnded() OVERRIDE; | 248 virtual void SystemDragEnded() OVERRIDE; |
| 250 virtual void UserGestureDone() OVERRIDE; | 249 virtual void UserGestureDone() OVERRIDE; |
| 251 virtual void SetClosedByUserGesture(bool value) OVERRIDE; | 250 virtual void SetClosedByUserGesture(bool value) OVERRIDE; |
| 252 virtual bool GetClosedByUserGesture() const OVERRIDE; | 251 virtual bool GetClosedByUserGesture() const OVERRIDE; |
| 253 virtual double GetZoomLevel() const OVERRIDE; | 252 virtual double GetZoomLevel() const OVERRIDE; |
| 254 virtual int GetZoomPercent(bool* enable_increment, | 253 virtual int GetZoomPercent(bool* enable_increment, |
| 255 bool* enable_decrement) const OVERRIDE; | 254 bool* enable_decrement) const OVERRIDE; |
| 256 virtual void ViewSource() OVERRIDE; | 255 virtual void ViewSource() OVERRIDE; |
| 257 virtual void ViewFrameSource(const GURL& url, | 256 virtual void ViewFrameSource(const GURL& url, |
| 258 const std::string& content_state) OVERRIDE; | 257 const std::string& content_state) OVERRIDE; |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 // Maps the ids of pending favicon downloads to their callbacks | 874 // Maps the ids of pending favicon downloads to their callbacks |
| 876 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 875 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
| 877 FaviconDownloadMap favicon_download_map_; | 876 FaviconDownloadMap favicon_download_map_; |
| 878 | 877 |
| 879 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 878 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 880 }; | 879 }; |
| 881 | 880 |
| 882 } // namespace content | 881 } // namespace content |
| 883 | 882 |
| 884 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 883 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |