Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: content/renderer/content_renderer_client.h

Issue 7104144: Get rid of the following dependencies from content: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/content_constants.cc ('k') | content/renderer/content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const GURL& url, 76 const GURL& url,
77 bool is_content_initiated, 77 bool is_content_initiated,
78 bool* send_referrer); 78 bool* send_referrer);
79 79
80 // Notifies the embedder that the given frame is requesting the resource at 80 // Notifies the embedder that the given frame is requesting the resource at
81 // |url|. If the function returns true, the url is changed to |new_url|. 81 // |url|. If the function returns true, the url is changed to |new_url|.
82 virtual bool WillSendRequest(WebKit::WebFrame* frame, 82 virtual bool WillSendRequest(WebKit::WebFrame* frame,
83 const GURL& url, 83 const GURL& url,
84 GURL* new_url); 84 GURL* new_url);
85 85
86 // Returns the file path where the media library files are.
87 virtual FilePath GetMediaLibraryPath();
88
89 // Whether to pump events when sending sync cookie messages. Needed if the 86 // Whether to pump events when sending sync cookie messages. Needed if the
90 // embedder can potentiall put up a modal dialog on the UI thread as a result. 87 // embedder can potentiall put up a modal dialog on the UI thread as a result.
91 virtual bool ShouldPumpEventsDuringCookieMessage(); 88 virtual bool ShouldPumpEventsDuringCookieMessage();
92 89
93 // See the corresponding functions in WebKit::WebFrameClient. 90 // See the corresponding functions in WebKit::WebFrameClient.
94 virtual void DidCreateScriptContext(WebKit::WebFrame* frame); 91 virtual void DidCreateScriptContext(WebKit::WebFrame* frame);
95 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame); 92 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame);
96 virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame); 93 virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame);
97 94
98 // See WebKit::WebKitClient. 95 // See WebKit::WebKitClient.
99 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 96 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
100 size_t length); 97 size_t length);
101 virtual bool IsLinkVisited(unsigned long long link_hash); 98 virtual bool IsLinkVisited(unsigned long long link_hash);
102 virtual void PrefetchHostName(const char* hostname, size_t length); 99 virtual void PrefetchHostName(const char* hostname, size_t length);
103 virtual bool ShouldOverridePageVisibilityState( 100 virtual bool ShouldOverridePageVisibilityState(
104 const RenderView* render_view, 101 const RenderView* render_view,
105 WebKit::WebPageVisibilityState* override_state) const; 102 WebKit::WebPageVisibilityState* override_state) const;
106 }; 103 };
107 104
108 } // namespace content 105 } // namespace content
109 106
110 #endif // CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_ 107 #endif // CONTENT_RENDERER_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/common/content_constants.cc ('k') | content/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698