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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 virtual void ViewFrameSource(const GURL& url, | 241 virtual void ViewFrameSource(const GURL& url, |
242 const std::string& content_state) OVERRIDE; | 242 const std::string& content_state) OVERRIDE; |
243 virtual int GetMinimumZoomPercent() const OVERRIDE; | 243 virtual int GetMinimumZoomPercent() const OVERRIDE; |
244 virtual int GetMaximumZoomPercent() const OVERRIDE; | 244 virtual int GetMaximumZoomPercent() const OVERRIDE; |
245 virtual gfx::Size GetPreferredSize() const OVERRIDE; | 245 virtual gfx::Size GetPreferredSize() const OVERRIDE; |
246 virtual int GetContentRestrictions() const OVERRIDE; | 246 virtual int GetContentRestrictions() const OVERRIDE; |
247 virtual content::WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; | 247 virtual content::WebUI::TypeID GetWebUITypeForCurrentState() OVERRIDE; |
248 virtual content::WebUI* GetWebUIForCurrentState() OVERRIDE; | 248 virtual content::WebUI* GetWebUIForCurrentState() OVERRIDE; |
249 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; | 249 virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
250 virtual bool HasOpener() const OVERRIDE; | 250 virtual bool HasOpener() const OVERRIDE; |
| 251 virtual bool ShouldIgnoreNavigation(const GURL& url, |
| 252 const content::Referrer& referrer, |
| 253 bool is_content_initiated) OVERRIDE; |
251 virtual void DidChooseColorInColorChooser(int color_chooser_id, | 254 virtual void DidChooseColorInColorChooser(int color_chooser_id, |
252 SkColor color) OVERRIDE; | 255 SkColor color) OVERRIDE; |
253 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; | 256 virtual void DidEndColorChooser(int color_chooser_id) OVERRIDE; |
254 | 257 |
255 // Implementation of PageNavigator. | 258 // Implementation of PageNavigator. |
256 virtual content::WebContents* OpenURL( | 259 virtual content::WebContents* OpenURL( |
257 const content::OpenURLParams& params) OVERRIDE; | 260 const content::OpenURLParams& params) OVERRIDE; |
258 | 261 |
259 // RenderViewHostDelegate ---------------------------------------------------- | 262 // RenderViewHostDelegate ---------------------------------------------------- |
260 | 263 |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 content::ColorChooser* color_chooser_; | 792 content::ColorChooser* color_chooser_; |
790 | 793 |
791 // This must be at the end, or else we might get notifications and use other | 794 // This must be at the end, or else we might get notifications and use other |
792 // member variables that are gone. | 795 // member variables that are gone. |
793 content::NotificationRegistrar registrar_; | 796 content::NotificationRegistrar registrar_; |
794 | 797 |
795 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 798 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
796 }; | 799 }; |
797 | 800 |
798 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 801 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |