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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 9386001: Implement a module system for the extension bindings JS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
OLDNEW
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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 const GURL& url, 77 const GURL& url,
78 bool is_content_initiated, 78 bool is_content_initiated,
79 bool is_initial_navigation, 79 bool is_initial_navigation,
80 bool* send_referrer) OVERRIDE; 80 bool* send_referrer) OVERRIDE;
81 virtual bool WillSendRequest(WebKit::WebFrame* frame, 81 virtual bool WillSendRequest(WebKit::WebFrame* frame,
82 const GURL& url, 82 const GURL& url,
83 GURL* new_url) OVERRIDE; 83 GURL* new_url) OVERRIDE;
84 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; 84 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE;
85 virtual void DidCreateScriptContext(WebKit::WebFrame* frame, 85 virtual void DidCreateScriptContext(WebKit::WebFrame* frame,
86 v8::Handle<v8::Context> context, 86 v8::Handle<v8::Context> context,
87 int extension_group,
87 int world_id) OVERRIDE; 88 int world_id) OVERRIDE;
88 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, 89 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame,
89 v8::Handle<v8::Context> context, 90 v8::Handle<v8::Context> context,
90 int world_id) OVERRIDE; 91 int world_id) OVERRIDE;
91 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 92 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
92 size_t length) OVERRIDE; 93 size_t length) OVERRIDE;
93 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 94 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
94 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; 95 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE;
95 virtual bool ShouldOverridePageVisibilityState( 96 virtual bool ShouldOverridePageVisibilityState(
96 const content::RenderView* render_view, 97 const content::RenderView* render_view,
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 161 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
161 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 162 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
162 163
163 // Set of origins that can use TCP/UDP private APIs from NaCl. 164 // Set of origins that can use TCP/UDP private APIs from NaCl.
164 std::set<std::string> allowed_socket_origins_; 165 std::set<std::string> allowed_socket_origins_;
165 }; 166 };
166 167
167 } // namespace chrome 168 } // namespace chrome
168 169
169 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 170 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698