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

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

Issue 18183: First pass as implementing the greasemonkey API. This patch (Closed)
Patch Set: Created 11 years, 11 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void LoadAlternateHTMLString(const WebRequest* request, 89 virtual void LoadAlternateHTMLString(const WebRequest* request,
90 const std::string& html_text, 90 const std::string& html_text,
91 const GURL& display_url, 91 const GURL& display_url,
92 bool replace); 92 bool replace);
93 virtual void LoadAlternateHTMLErrorPage(const WebRequest* request, 93 virtual void LoadAlternateHTMLErrorPage(const WebRequest* request,
94 const WebError& error, 94 const WebError& error,
95 const GURL& error_page_url, 95 const GURL& error_page_url,
96 bool replace, 96 bool replace,
97 const GURL& fake_url); 97 const GURL& fake_url);
98 virtual void ExecuteJavaScript(const std::string& js_code, 98 virtual void ExecuteJavaScript(const std::string& js_code,
99 const GURL& script_url); 99 const GURL& script_url,
100 int start_line);
100 virtual bool GetPreviousHistoryState(std::string* history_state) const; 101 virtual bool GetPreviousHistoryState(std::string* history_state) const;
101 virtual bool GetCurrentHistoryState(std::string* history_state) const; 102 virtual bool GetCurrentHistoryState(std::string* history_state) const;
102 virtual bool HasCurrentHistoryState() const; 103 virtual bool HasCurrentHistoryState() const;
103 virtual GURL GetURL() const; 104 virtual GURL GetURL() const;
104 virtual GURL GetFavIconURL() const; 105 virtual GURL GetFavIconURL() const;
105 virtual GURL GetOSDDURL() const; 106 virtual GURL GetOSDDURL() const;
106 virtual WebDataSource* GetDataSource() const; 107 virtual WebDataSource* GetDataSource() const;
107 virtual WebDataSource* GetProvisionalDataSource() const; 108 virtual WebDataSource* GetProvisionalDataSource() const;
108 virtual void StopLoading(); 109 virtual void StopLoading();
109 virtual WebFrame* GetOpener() const; 110 virtual WebFrame* GetOpener() const;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // The input fields that are interested in edit events and their associated 432 // The input fields that are interested in edit events and their associated
432 // listeners. 433 // listeners.
433 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 434 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
434 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 435 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
435 PasswordListenerMap password_listeners_; 436 PasswordListenerMap password_listeners_;
436 437
437 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 438 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
438 }; 439 };
439 440
440 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 441 #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