| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "content/renderer/content_renderer_client.h" | 10 #include "content/renderer/content_renderer_client.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 const GURL& url, | 36 const GURL& url, |
| 37 bool is_content_initiated, | 37 bool is_content_initiated, |
| 38 bool* send_referrer) OVERRIDE; | 38 bool* send_referrer) OVERRIDE; |
| 39 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 39 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
| 40 const GURL& url, | 40 const GURL& url, |
| 41 GURL* new_url) OVERRIDE; | 41 GURL* new_url) OVERRIDE; |
| 42 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; | 42 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; |
| 43 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE; | 43 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE; |
| 44 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE; | 44 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE; |
| 45 virtual void DidCreateIsolatedScriptContext( | 45 virtual void DidCreateIsolatedScriptContext( |
| 46 WebKit::WebFrame* frame) OVERRIDE; | 46 WebKit::WebFrame* frame, int world_id, |
| 47 v8::Handle<v8::Context> context) OVERRIDE; |
| 47 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 48 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
| 48 size_t length) OVERRIDE; | 49 size_t length) OVERRIDE; |
| 49 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 50 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
| 50 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; | 51 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; |
| 51 virtual bool ShouldOverridePageVisibilityState( | 52 virtual bool ShouldOverridePageVisibilityState( |
| 52 const RenderView* render_view, | 53 const RenderView* render_view, |
| 53 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; | 54 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 } // namespace content | 57 } // namespace content |
| 57 | 58 |
| 58 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ | 59 #endif // CONTENT_RENDERER_MOCK_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |