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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 const base::Callback<void(const FilePath&, int64)>& callback) OVERRIDE; | 212 const base::Callback<void(const FilePath&, int64)>& callback) OVERRIDE; |
213 virtual bool IsActiveEntry(int32 page_id) OVERRIDE; | 213 virtual bool IsActiveEntry(int32 page_id) OVERRIDE; |
214 | 214 |
215 virtual const std::string& GetContentsMimeType() const OVERRIDE; | 215 virtual const std::string& GetContentsMimeType() const OVERRIDE; |
216 virtual bool WillNotifyDisconnection() const OVERRIDE; | 216 virtual bool WillNotifyDisconnection() const OVERRIDE; |
217 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; | 217 virtual void SetOverrideEncoding(const std::string& encoding) OVERRIDE; |
218 virtual void ResetOverrideEncoding() OVERRIDE; | 218 virtual void ResetOverrideEncoding() OVERRIDE; |
219 virtual content::RendererPreferences* GetMutableRendererPrefs() OVERRIDE; | 219 virtual content::RendererPreferences* GetMutableRendererPrefs() OVERRIDE; |
220 virtual void SetNewTabStartTime(const base::TimeTicks& time) OVERRIDE; | 220 virtual void SetNewTabStartTime(const base::TimeTicks& time) OVERRIDE; |
221 virtual base::TimeTicks GetNewTabStartTime() const OVERRIDE; | 221 virtual base::TimeTicks GetNewTabStartTime() const OVERRIDE; |
| 222 virtual void Close() OVERRIDE; |
222 virtual void OnCloseStarted() OVERRIDE; | 223 virtual void OnCloseStarted() OVERRIDE; |
223 virtual bool ShouldAcceptDragAndDrop() const OVERRIDE; | 224 virtual bool ShouldAcceptDragAndDrop() const OVERRIDE; |
224 virtual void SystemDragEnded() OVERRIDE; | 225 virtual void SystemDragEnded() OVERRIDE; |
| 226 virtual void UserGestureDone() OVERRIDE; |
225 virtual void SetClosedByUserGesture(bool value) OVERRIDE; | 227 virtual void SetClosedByUserGesture(bool value) OVERRIDE; |
226 virtual bool GetClosedByUserGesture() const OVERRIDE; | 228 virtual bool GetClosedByUserGesture() const OVERRIDE; |
227 virtual double GetZoomLevel() const OVERRIDE; | 229 virtual double GetZoomLevel() const OVERRIDE; |
228 virtual int GetZoomPercent(bool* enable_increment, | 230 virtual int GetZoomPercent(bool* enable_increment, |
229 bool* enable_decrement) OVERRIDE; | 231 bool* enable_decrement) OVERRIDE; |
230 virtual void ViewSource() OVERRIDE; | 232 virtual void ViewSource() OVERRIDE; |
231 virtual void ViewFrameSource(const GURL& url, | 233 virtual void ViewFrameSource(const GURL& url, |
232 const std::string& content_state) OVERRIDE; | 234 const std::string& content_state) OVERRIDE; |
233 virtual int GetMinimumZoomPercent() const OVERRIDE; | 235 virtual int GetMinimumZoomPercent() const OVERRIDE; |
234 virtual int GetMaximumZoomPercent() const OVERRIDE; | 236 virtual int GetMaximumZoomPercent() const OVERRIDE; |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 // (full-page plugins for now only) permissions. | 723 // (full-page plugins for now only) permissions. |
722 int content_restrictions_; | 724 int content_restrictions_; |
723 | 725 |
724 // Color chooser that was opened by this tab. | 726 // Color chooser that was opened by this tab. |
725 content::ColorChooser* color_chooser_; | 727 content::ColorChooser* color_chooser_; |
726 | 728 |
727 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 729 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
728 }; | 730 }; |
729 | 731 |
730 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 732 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |