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

Side by Side Diff: third_party/WebKit/public/web/WebDocument.h

Issue 2547753002: [Extensions] Extension Port Ids and Initialization 2.0 (Closed)
Patch Set: rkaplow Created 4 years 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 | « third_party/WebKit/Source/web/WebDocument.cpp ('k') | tools/metrics/histograms/histograms.xml » ('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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 BLINK_EXPORT WebAXObject focusedAccessibilityObject() const; 129 BLINK_EXPORT WebAXObject focusedAccessibilityObject() const;
130 130
131 // Inserts the given CSS source code as a stylesheet in the document. 131 // Inserts the given CSS source code as a stylesheet in the document.
132 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode); 132 BLINK_EXPORT void insertStyleSheet(const WebString& sourceCode);
133 133
134 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of 134 // Arranges to call WebFrameClient::didMatchCSS(frame(), ...) when one of
135 // the selectors matches or stops matching an element in this document. 135 // the selectors matches or stops matching an element in this document.
136 // Each call to this method overrides any previous calls. 136 // Each call to this method overrides any previous calls.
137 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors); 137 BLINK_EXPORT void watchCSSSelectors(const WebVector<WebString>& selectors);
138 138
139 // These methods are exposed only as a temporary fix for a stable-blocker
140 // regression (crbug.com/660706), and should be removed pronto.
141 // TODO(devlin): Make it happen!
142 BLINK_EXPORT bool unloadStartedDoNotUse() const;
143 BLINK_EXPORT bool processingBeforeUnloadDoNotUse() const;
144
145 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const; 139 BLINK_EXPORT WebVector<WebDraggableRegion> draggableRegions() const;
146 140
147 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement( 141 BLINK_EXPORT v8::Local<v8::Value> registerEmbedderCustomElement(
148 const WebString& name, 142 const WebString& name,
149 v8::Local<v8::Value> options, 143 v8::Local<v8::Value> options,
150 WebExceptionCode&); 144 WebExceptionCode&);
151 145
152 BLINK_EXPORT WebURL manifestURL() const; 146 BLINK_EXPORT WebURL manifestURL() const;
153 BLINK_EXPORT bool manifestUseCredentials() const; 147 BLINK_EXPORT bool manifestUseCredentials() const;
154 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures(); 148 BLINK_EXPORT WebDistillabilityFeatures distillabilityFeatures();
155 149
156 #if BLINK_IMPLEMENTATION 150 #if BLINK_IMPLEMENTATION
157 BLINK_EXPORT WebDocument(Document*); 151 BLINK_EXPORT WebDocument(Document*);
158 BLINK_EXPORT WebDocument& operator=(Document*); 152 BLINK_EXPORT WebDocument& operator=(Document*);
159 BLINK_EXPORT operator Document*() const; 153 BLINK_EXPORT operator Document*() const;
160 #endif 154 #endif
161 }; 155 };
162 156
163 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument); 157 DECLARE_WEB_NODE_TYPE_CASTS(WebDocument);
164 158
165 } // namespace blink 159 } // namespace blink
166 160
167 #endif 161 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDocument.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698