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 void DragSourceEndedAt(int client_x, int client_y, int screen_x, |
| 249 int screen_y, WebKit::WebDragOperation operation) OVERRIDE; |
| 250 virtual void DragSourceMovedTo(int client_x, int client_y, |
| 251 int screen_x, int screen_y) OVERRIDE; |
248 virtual void SystemDragEnded() OVERRIDE; | 252 virtual void SystemDragEnded() OVERRIDE; |
249 virtual void UserGestureDone() OVERRIDE; | 253 virtual void UserGestureDone() OVERRIDE; |
250 virtual void SetClosedByUserGesture(bool value) OVERRIDE; | 254 virtual void SetClosedByUserGesture(bool value) OVERRIDE; |
251 virtual bool GetClosedByUserGesture() const OVERRIDE; | 255 virtual bool GetClosedByUserGesture() const OVERRIDE; |
252 virtual double GetZoomLevel() const OVERRIDE; | 256 virtual double GetZoomLevel() const OVERRIDE; |
253 virtual int GetZoomPercent(bool* enable_increment, | 257 virtual int GetZoomPercent(bool* enable_increment, |
254 bool* enable_decrement) const OVERRIDE; | 258 bool* enable_decrement) const OVERRIDE; |
255 virtual void ViewSource() OVERRIDE; | 259 virtual void ViewSource() OVERRIDE; |
256 virtual void ViewFrameSource(const GURL& url, | 260 virtual void ViewFrameSource(const GURL& url, |
257 const std::string& content_state) OVERRIDE; | 261 const std::string& content_state) OVERRIDE; |
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 // Maps the ids of pending favicon downloads to their callbacks | 878 // Maps the ids of pending favicon downloads to their callbacks |
875 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 879 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
876 FaviconDownloadMap favicon_download_map_; | 880 FaviconDownloadMap favicon_download_map_; |
877 | 881 |
878 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 882 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
879 }; | 883 }; |
880 | 884 |
881 } // namespace content | 885 } // namespace content |
882 | 886 |
883 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 887 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |