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

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

Issue 159542: Add a WebKit API that registers a V8 extension to be loaded into content (Closed)
Patch Set: final Created 11 years, 4 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
« no previous file with comments | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.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 /* 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 bool replace = false); 97 bool replace = false);
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 int extension_group);
108 virtual void ExecuteScriptInNewWorld( 109 virtual void ExecuteScriptInNewWorld(
109 const WebKit::WebScriptSource* sources, int num_sources); 110 const WebKit::WebScriptSource* sources, int num_sources,
111 int extension_group);
110 virtual bool InsertCSSStyles(const std::string& css); 112 virtual bool InsertCSSStyles(const std::string& css);
111 virtual WebKit::WebHistoryItem GetPreviousHistoryItem() const; 113 virtual WebKit::WebHistoryItem GetPreviousHistoryItem() const;
112 virtual WebKit::WebHistoryItem GetCurrentHistoryItem() const; 114 virtual WebKit::WebHistoryItem GetCurrentHistoryItem() const;
113 virtual GURL GetURL() const; 115 virtual GURL GetURL() const;
114 virtual GURL GetFavIconURL() const; 116 virtual GURL GetFavIconURL() const;
115 virtual GURL GetOSDDURL() const; 117 virtual GURL GetOSDDURL() const;
116 virtual int GetContentsPreferredWidth() const; 118 virtual int GetContentsPreferredWidth() const;
117 virtual WebKit::WebDataSource* GetDataSource() const; 119 virtual WebKit::WebDataSource* GetDataSource() const;
118 virtual WebKit::WebDataSource* GetProvisionalDataSource() const; 120 virtual WebKit::WebDataSource* GetProvisionalDataSource() const;
119 virtual void StopLoading(); 121 virtual void StopLoading();
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 // The input fields that are interested in edit events and their associated 412 // The input fields that are interested in edit events and their associated
411 // listeners. 413 // listeners.
412 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 414 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
413 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 415 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
414 PasswordListenerMap password_listeners_; 416 PasswordListenerMap password_listeners_;
415 417
416 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 418 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
417 }; 419 };
418 420
419 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 421 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webframe.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698