| 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 virtual base::TimeTicks GetNewTabStartTime() const OVERRIDE; | 248 virtual base::TimeTicks GetNewTabStartTime() const OVERRIDE; |
| 249 virtual void Close() OVERRIDE; | 249 virtual void Close() OVERRIDE; |
| 250 virtual void OnCloseStarted() OVERRIDE; | 250 virtual void OnCloseStarted() OVERRIDE; |
| 251 virtual bool ShouldAcceptDragAndDrop() const OVERRIDE; | 251 virtual bool ShouldAcceptDragAndDrop() const OVERRIDE; |
| 252 virtual void SystemDragEnded() OVERRIDE; | 252 virtual void SystemDragEnded() OVERRIDE; |
| 253 virtual void UserGestureDone() OVERRIDE; | 253 virtual void UserGestureDone() OVERRIDE; |
| 254 virtual void SetClosedByUserGesture(bool value) OVERRIDE; | 254 virtual void SetClosedByUserGesture(bool value) OVERRIDE; |
| 255 virtual bool GetClosedByUserGesture() const OVERRIDE; | 255 virtual bool GetClosedByUserGesture() const OVERRIDE; |
| 256 virtual double GetZoomLevel() const OVERRIDE; | 256 virtual double GetZoomLevel() const OVERRIDE; |
| 257 virtual int GetZoomPercent(bool* enable_increment, | 257 virtual int GetZoomPercent(bool* enable_increment, |
| 258 bool* enable_decrement) OVERRIDE; | 258 bool* enable_decrement) const OVERRIDE; |
| 259 virtual void ViewSource() OVERRIDE; | 259 virtual void ViewSource() OVERRIDE; |
| 260 virtual void ViewFrameSource(const GURL& url, | 260 virtual void ViewFrameSource(const GURL& url, |
| 261 const std::string& content_state) OVERRIDE; | 261 const std::string& content_state) OVERRIDE; |
| 262 virtual int GetMinimumZoomPercent() const OVERRIDE; | 262 virtual int GetMinimumZoomPercent() const OVERRIDE; |
| 263 virtual int GetMaximumZoomPercent() const OVERRIDE; | 263 virtual int GetMaximumZoomPercent() const OVERRIDE; |
| 264 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 264 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
| 265 virtual int GetContentRestrictions() const OVERRIDE; | 265 virtual int GetContentRestrictions() const OVERRIDE; |
| 266 virtual content::WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; | 266 virtual content::WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; |
| 267 virtual content::WebUI* GetWebUIForCurrentState() OVERRIDE; | 267 virtual content::WebUI* GetWebUIForCurrentState() OVERRIDE; |
| 268 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 268 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 867 content::RenderViewHost* message_source_; | 867 content::RenderViewHost* message_source_; |
| 868 | 868 |
| 869 // All live RenderWidgetHostImpls that are created by this object and may | 869 // All live RenderWidgetHostImpls that are created by this object and may |
| 870 // outlive it. | 870 // outlive it. |
| 871 std::set<content::RenderWidgetHostImpl*> created_widgets_; | 871 std::set<content::RenderWidgetHostImpl*> created_widgets_; |
| 872 | 872 |
| 873 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 873 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 874 }; | 874 }; |
| 875 | 875 |
| 876 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 876 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |