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

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

Issue 262002: Make all content scripts from an extension run in the same (Closed)
Patch Set: Created 11 years, 2 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/api/public/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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void forms(WebKit::WebVector<WebKit::WebForm>&) const; 92 virtual void forms(WebKit::WebVector<WebKit::WebForm>&) const;
93 virtual WebKit::WebSecurityOrigin securityOrigin() const; 93 virtual WebKit::WebSecurityOrigin securityOrigin() const;
94 virtual void grantUniversalAccess(); 94 virtual void grantUniversalAccess();
95 virtual NPObject* windowObject() const; 95 virtual NPObject* windowObject() const;
96 virtual void bindToWindowObject( 96 virtual void bindToWindowObject(
97 const WebKit::WebString& name, NPObject* object); 97 const WebKit::WebString& name, NPObject* object);
98 virtual void executeScript(const WebKit::WebScriptSource&); 98 virtual void executeScript(const WebKit::WebScriptSource&);
99 virtual void executeScriptInNewContext( 99 virtual void executeScriptInNewContext(
100 const WebKit::WebScriptSource* sources, unsigned num_sources, 100 const WebKit::WebScriptSource* sources, unsigned num_sources,
101 int extension_group); 101 int extension_group);
102 virtual void executeScriptInNewWorld( 102 virtual void executeScriptInIsolatedWorld(
103 const WebKit::WebScriptSource* sources, unsigned num_sources, 103 int world_id, const WebKit::WebScriptSource* sources,
104 int extension_group); 104 unsigned num_sources, int extension_group);
105 virtual void addMessageToConsole(const WebKit::WebConsoleMessage&); 105 virtual void addMessageToConsole(const WebKit::WebConsoleMessage&);
106 virtual void collectGarbage(); 106 virtual void collectGarbage();
107 #if WEBKIT_USING_V8 107 #if WEBKIT_USING_V8
108 virtual v8::Local<v8::Context> mainWorldScriptContext() const; 108 virtual v8::Local<v8::Context> mainWorldScriptContext() const;
109 #endif 109 #endif
110 virtual bool insertStyleText( 110 virtual bool insertStyleText(
111 const WebKit::WebString& css, const WebKit::WebString& id); 111 const WebKit::WebString& css, const WebKit::WebString& id);
112 virtual void reload(); 112 virtual void reload();
113 virtual void loadRequest(const WebKit::WebURLRequest& request); 113 virtual void loadRequest(const WebKit::WebURLRequest& request);
114 virtual void loadHistoryItem(const WebKit::WebHistoryItem& history_item); 114 virtual void loadHistoryItem(const WebKit::WebHistoryItem& history_item);
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // The input fields that are interested in edit events and their associated 366 // The input fields that are interested in edit events and their associated
367 // listeners. 367 // listeners.
368 typedef HashMap<RefPtr<WebCore::HTMLInputElement>, 368 typedef HashMap<RefPtr<WebCore::HTMLInputElement>,
369 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap; 369 webkit_glue::PasswordAutocompleteListener*> PasswordListenerMap;
370 PasswordListenerMap password_listeners_; 370 PasswordListenerMap password_listeners_;
371 371
372 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl); 372 DISALLOW_COPY_AND_ASSIGN(WebFrameImpl);
373 }; 373 };
374 374
375 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_ 375 #endif // WEBKIT_GLUE_WEBFRAME_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/api/public/WebFrame.h ('k') | webkit/glue/webframe_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698