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

Side by Side Diff: webkit/glue/webframe_impl.h

Issue 155626: Enable isolated worlds for content scripts.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual void LoadAlternateHTMLErrorPage( 98 virtual void LoadAlternateHTMLErrorPage(
99 const WebKit::WebURLRequest& request, 99 const WebKit::WebURLRequest& request,
100 const WebKit::WebURLError& error, 100 const WebKit::WebURLError& error,
101 const GURL& error_page_url, 101 const GURL& error_page_url,
102 bool replace, 102 bool replace,
103 const GURL& fake_url); 103 const GURL& fake_url);
104 virtual void DispatchWillSendRequest(WebKit::WebURLRequest* request); 104 virtual void DispatchWillSendRequest(WebKit::WebURLRequest* request);
105 virtual void ExecuteScript(const WebKit::WebScriptSource& source); 105 virtual void ExecuteScript(const WebKit::WebScriptSource& source);
106 virtual void ExecuteScriptInNewContext( 106 virtual void ExecuteScriptInNewContext(
107 const WebKit::WebScriptSource* sources, int num_sources); 107 const WebKit::WebScriptSource* sources, int num_sources);
108 virtual void ExecuteScriptInNewWorld(
109 const WebKit::WebScriptSource* sources, int num_sources);
108 virtual bool InsertCSSStyles(const std::string& css); 110 virtual bool InsertCSSStyles(const std::string& css);
109 virtual WebKit::WebHistoryItem GetPreviousHistoryItem() const; 111 virtual WebKit::WebHistoryItem GetPreviousHistoryItem() const;
110 virtual WebKit::WebHistoryItem GetCurrentHistoryItem() const; 112 virtual WebKit::WebHistoryItem GetCurrentHistoryItem() const;
111 virtual GURL GetURL() const; 113 virtual GURL GetURL() const;
112 virtual GURL GetFavIconURL() const; 114 virtual GURL GetFavIconURL() const;
113 virtual GURL GetOSDDURL() const; 115 virtual GURL GetOSDDURL() const;
114 virtual int GetContentsPreferredWidth() const; 116 virtual int GetContentsPreferredWidth() const;
115 virtual WebKit::WebDataSource* GetDataSource() const; 117 virtual WebKit::WebDataSource* GetDataSource() const;
116 virtual WebKit::WebDataSource* GetProvisionalDataSource() const; 118 virtual WebKit::WebDataSource* GetProvisionalDataSource() const;
117 virtual void StopLoading(); 119 virtual void StopLoading();
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // The input fields that are interested in edit events and their associated 405 // The input fields that are interested in edit events and their associated
404 // listeners. 406 // listeners.
405 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 407 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
406 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 408 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
407 PasswordListenerMap password_listeners_; 409 PasswordListenerMap password_listeners_;
408 410
409 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 411 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
410 }; 412 };
411 413
412 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 414 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698