Home
last modified time | relevance | path

Searched refs:sheet (Results 1 – 25 of 187) sorted by relevance

12345678

/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocumentStyleSheetCollection.cpp61 StyleSheet* sheet = 0; in collectStyleSheetsFromCandidates() local
74 sheet = pi->sheet(); in collectStyleSheetsFromCandidates()
75 if (sheet && !sheet->disabled() && sheet->isCSSStyleSheet()) in collectStyleSheetsFromCandidates()
76 activeSheet = toCSSStyleSheet(sheet); in collectStyleSheetsFromCandidates()
97 sheet = linkElement->sheet(); in collectStyleSheetsFromCandidates()
98 if (!sheet) in collectStyleSheetsFromCandidates()
101 sheet = toSVGStyleElement(n)->sheet(); in collectStyleSheetsFromCandidates()
103 sheet = toHTMLStyleElement(n)->sheet(); in collectStyleSheetsFromCandidates()
106 if (sheet && !sheet->disabled() && sheet->isCSSStyleSheet()) in collectStyleSheetsFromCandidates()
107 activeSheet = toCSSStyleSheet(sheet); in collectStyleSheetsFromCandidates()
[all …]
DShadowTreeStyleSheetCollection.cpp54 StyleSheet* sheet = 0; in collectStyleSheets() local
64 sheet = toHTMLStyleElement(node)->sheet(); in collectStyleSheets()
65 if (sheet && !sheet->disabled() && sheet->isCSSStyleSheet()) in collectStyleSheets()
66 activeSheet = toCSSStyleSheet(sheet); in collectStyleSheets()
72 if (!enabledViaScript && sheet && !title.isEmpty()) { in collectStyleSheets()
86 if (sheet) in collectStyleSheets()
87 collection.appendSheetForList(sheet); in collectStyleSheets()
DProcessingInstruction.cpp167 …const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* sheet) in setCSSStyleSheet() argument
189 parseStyleSheet(sheet->sheetText(true)); in setCSSStyleSheet()
192 …ocessingInstruction::setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) in setXSLStyleSheet() argument
196 parseStyleSheet(sheet); in setXSLStyleSheet()
199 void ProcessingInstruction::parseStyleSheet(const String& sheet) in parseStyleSheet() argument
202 toCSSStyleSheet(m_sheet.get())->contents()->parseString(sheet); in parseStyleSheet()
204 toXSLStyleSheet(m_sheet.get())->parseString(sheet); in parseStyleSheet()
215 void ProcessingInstruction::setCSSStyleSheet(PassRefPtr<CSSStyleSheet> sheet) in setCSSStyleSheet() argument
219 m_sheet = sheet; in setCSSStyleSheet()
220 sheet->setTitle(m_title); in setCSSStyleSheet()
[all …]
DProcessingInstruction.h47 StyleSheet* sheet() const { return m_sheet.get(); } in sheet() function
68 virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet);
74 void parseStyleSheet(const String& sheet);
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_sheet_controller.mm15 // Maps parent windows to sheet controllers.
25 // An invisible overlay window placed on top of the sheet's parent view.
36 findSheetInfoForSheet:(id<ConstrainedWindowSheet>)sheet;
92 controllerForSheet:(id<ConstrainedWindowSheet>)sheet {
95 if ([controller findSheetInfoForSheet:sheet])
106 return [info sheet];
126 - (void)showSheet:(id<ConstrainedWindowSheet>)sheet
128 DCHECK(sheet);
148 // Add an entry for the sheet.
150 [[ConstrainedWindowSheetInfo alloc] initWithSheet:sheet
[all …]
Dconstrained_window_sheet_controller.h34 controllerForSheet:(id<ConstrainedWindowSheet>)sheet;
41 - (void)showSheet:(id<ConstrainedWindowSheet>)sheet
45 - (NSPoint)originForSheet:(id<ConstrainedWindowSheet>)sheet
49 - (void)closeSheet:(id<ConstrainedWindowSheet>)sheet;
57 - (void)pulseSheet:(id<ConstrainedWindowSheet>)sheet;
Dconstrained_window_sheet_info.mm15 - (id)initWithSheet:(id<ConstrainedWindowSheet>)sheet
19 sheet_.reset([sheet retain]);
26 - (id<ConstrainedWindowSheet>)sheet { method
44 // Make sure the now invisible sheet doesn't keep keyboard focus
Dconstrained_window_sheet_controller_unittest.mm75 // Center the window so that the sheet doesn't go offscreen.
90 // Create a test sheet.
148 // Test showing then hiding the sheet.
160 // Test that switching tabs correctly hides the inactive tab's sheet.
174 // Test that adding a sheet to an inactive view doesn't show it.
185 // Test that two parent windows with two sheet controllers don't conflict.
219 // Test that resizing sheet works.
238 // Test that resizing a hidden sheet works.
274 // Test showing a system sheet on an inactive tab.
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXSLTProcessorLibxslt.cpp167 static bool saveResultToString(xmlDocPtr resultDoc, xsltStylesheetPtr sheet, String& resultString) in saveResultToString() argument
177 int retval = xsltSaveResultTo(outputBuf, resultDoc, sheet); in saveResultToString()
256 static inline String resultMIMEType(xmlDocPtr resultDoc, xsltStylesheetPtr sheet) in resultMIMEType() argument
263 XSLT_GET_IMPORT_PTR(resultType, sheet, method); in resultMIMEType()
280 xsltStylesheetPtr sheet = xsltStylesheetPointer(m_stylesheet, m_stylesheetRootNode.get()); in transformToString() local
281 if (!sheet) { in transformToString()
288 xmlChar* origMethod = sheet->method; in transformToString()
290 sheet->method = (xmlChar*)"html"; in transformToString()
297 sheet->omitXmlDeclaration = true; in transformToString()
299 xsltTransformContextPtr transformContext = xsltNewTransformContext(sheet, sourceDoc); in transformToString()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/css/
DStyleRuleImport.cpp110 for (StyleSheetContents* sheet = m_parentStyleSheet; sheet; sheet = sheet->parentStyleSheet()) { in requestStyleSheet() local
111 if (equalIgnoringFragmentIdentifier(absURL, sheet->baseURL()) in requestStyleSheet()
112 || equalIgnoringFragmentIdentifier(absURL, document->completeURL(sheet->originalURL()))) in requestStyleSheet()
114 rootSheet = sheet; in requestStyleSheet()
DStyleRuleImport.h43 … void setParentStyleSheet(StyleSheetContents* sheet) { ASSERT(sheet); m_parentStyleSheet = sheet; } in setParentStyleSheet() argument
61 …const String& href, const KURL& baseURL, const String& charset, const CSSStyleSheetResource* sheet) in setCSSStyleSheet() argument
63 m_ownerRule->setCSSStyleSheet(href, baseURL, charset, sheet); in setCSSStyleSheet()
DStyleSheetContents.cpp52 if (StyleSheetContents* sheet = m_importRules[i]->styleSheet()) in estimatedSizeInBytes() local
53 size += sheet->estimatedSizeInBytes(); in estimatedSizeInBytes()
373 void StyleSheetContents::notifyLoadedSheet(const CSSStyleSheetResource* sheet) in notifyLoadedSheet() argument
375 ASSERT(sheet); in notifyLoadedSheet()
376 m_didLoadErrorOccur |= sheet->errorOccurred(); in notifyLoadedSheet()
498 void StyleSheetContents::registerClient(CSSStyleSheet* sheet) in registerClient() argument
500 ASSERT(!m_clients.contains(sheet)); in registerClient()
501 m_clients.append(sheet); in registerClient()
504 void StyleSheetContents::unregisterClient(CSSStyleSheet* sheet) in unregisterClient() argument
506 size_t position = m_clients.find(sheet); in unregisterClient()
DCSSStyleSheet.h146 inline CSSStyleSheet::RuleMutationScope::RuleMutationScope(CSSStyleSheet* sheet) in RuleMutationScope() argument
147 : m_styleSheet(sheet) in RuleMutationScope()
166 DEFINE_TYPE_CASTS(CSSStyleSheet, StyleSheet, sheet, sheet->isCSSStyleSheet(), sheet.isCSSStyleSheet…
DCSSStyleSheet.cpp47 StyleSheetCSSRuleList(CSSStyleSheet* sheet) : m_styleSheet(sheet) { } in StyleSheetCSSRuleList() argument
74 PassRefPtr<CSSStyleSheet> CSSStyleSheet::create(PassRefPtr<StyleSheetContents> sheet, CSSImportRule… in create() argument
76 return adoptRef(new CSSStyleSheet(sheet, ownerRule)); in create()
79 PassRefPtr<CSSStyleSheet> CSSStyleSheet::create(PassRefPtr<StyleSheetContents> sheet, Node* ownerNo… in create() argument
81 return adoptRef(new CSSStyleSheet(sheet, ownerNode, false, TextPosition::minimumPosition())); in create()
87 RefPtr<StyleSheetContents> sheet = StyleSheetContents::create(baseURL.string(), parserContext); in createInline() local
88 return adoptRef(new CSSStyleSheet(sheet.release(), ownerNode, true, startPosition)); in createInline()
DCSSRegionRule.h42 …le> create(StyleRuleRegion* rule, CSSStyleSheet* sheet) { return adoptRef(new CSSRegionRule(rule, in create() argument
DCSSSupportsRule.h41 static PassRefPtr<CSSSupportsRule> create(StyleRuleSupports* rule, CSSStyleSheet* sheet) in create() argument
43 return adoptRef(new CSSSupportsRule(rule, sheet)); in create()
DElementRuleCollector.cpp203 CSSStyleSheet* sheet = stylesheets[i].get(); in findStyleSheet() local
204 for (unsigned j = 0; j < sheet->length(); ++j) { in findStyleSheet()
205 CSSRule* cssRule = sheet->item(j); in findStyleSheet()
210 return sheet; in findStyleSheet()
222 …CSSStyleSheet* sheet = m_includeStyleSheet == IncludeStyleSheetInCSSOMWrapper ? findStyleSheet(m_c… in appendCSSOMWrapperForRule() local
223 RefPtr<CSSRule> cssRule = rule->createCSSOMWrapper(sheet); in appendCSSOMWrapperForRule()
224 if (sheet) in appendCSSOMWrapperForRule()
225 sheet->registerExtraChildRuleCSSOMWrapper(cssRule); in appendCSSOMWrapperForRule()
DCSSMediaRule.h35 …Rule> create(StyleRuleMedia* rule, CSSStyleSheet* sheet) { return adoptRef(new CSSMediaRule(rule, in create() argument
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DScopedStyleResolver.cpp45 ContainerNode* ScopedStyleResolver::scopingNodeFor(Document& document, const CSSStyleSheet* sheet) in scopingNodeFor() argument
47 ASSERT(sheet); in scopingNodeFor()
49 Document* sheetDocument = sheet->ownerDocument(); in scopingNodeFor()
52 Node* ownerNode = sheet->ownerNode(); in scopingNodeFor()
70 void ScopedStyleResolver::addRulesFromSheet(StyleSheetContents* sheet, const MediaQueryEvaluator& m… in addRulesFromSheet() argument
72 m_authorStyleSheets.append(sheet); in addRulesFromSheet()
74 …AddRuleFlags addRuleFlags = resolver->document().securityOrigin()->canRequest(sheet->baseURL()) ? … in addRulesFromSheet()
75 const RuleSet& ruleSet = sheet->ensureRuleSet(medium, addRuleFlags); in addRulesFromSheet()
77 resolver->processScopedRules(ruleSet, sheet->baseURL(), &m_scopingNode); in addRulesFromSheet()
/external/chromium/chrome/browser/ui/cocoa/
Dconstrained_html_delegate_mac.mm29 // From ConstrainedWindowMacDelegate: "you MUST close the sheet belonging to
32 [NSApp endSheet:sheet()];
50 TabContents tab_contents_; // Holds the HTML to be displayed in the sheet.
60 // The delegate used to forward events from the sheet to the constrained
62 // to allow the HtmlDialog to know when the sheet closes.
68 - (void)sheetDidEnd:(NSWindow*)sheet
90 // Create NSWindow to hold tab_contents in the constrained sheet:
96 // the sheet is initialized.
106 // Set the custom sheet to point to the new window.
148 - (void)sheetDidEnd:(NSWindow*)sheet
[all …]
Dconstrained_window_mac.h58 void set_sheet(id sheet);
59 id sheet() { return systemSheet_; } in sheet() function
90 void init(NSWindow* sheet, id delegate, SEL didEndSelector);
91 void set_sheet(NSWindow* sheet);
92 NSWindow* sheet() { return customSheet_; } in sheet() function
Dconstrained_window_mac.mm21 void ConstrainedWindowMacDelegateSystemSheet::set_sheet(id sheet) {
22 systemSheet_.reset([sheet retain]);
60 void ConstrainedWindowMacDelegateCustomSheet::init(NSWindow* sheet,
65 customSheet_.reset([sheet retain]);
72 void ConstrainedWindowMacDelegateCustomSheet::set_sheet(NSWindow* sheet) {
73 customSheet_.reset([sheet retain]);
108 // this case, open the sheet now. Else, Realize() will be called later, when
122 // Note: controller_ can be `nil` here if the sheet was never realized. That's
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DCSSStyleSheetResource.cpp171 void CSSStyleSheetResource::saveParsedStyleSheet(PassRefPtr<StyleSheetContents> sheet) in saveParsedStyleSheet() argument
173 ASSERT(sheet && sheet->isCacheable()); in saveParsedStyleSheet()
177 m_parsedStyleSheetCache = sheet; in saveParsedStyleSheet()
/external/chromium/chrome/browser/ui/cocoa/content_settings/
Dcollected_cookies_mac.mm44 #pragma mark Bridge between the constrained window delegate and the sheet
46 // The delegate used to forward the events from the sheet to the constrained
52 - (void)sheetDidEnd:(NSWindow*)sheet
65 - (void)sheetDidEnd:(NSWindow*)sheet
68 collectedCookies_->OnSheetDidEnd(sheet);
115 void CollectedCookiesMac::OnSheetDidEnd(NSWindow* sheet) {
116 [sheet orderOut:sheet_controller_];
450 NSWindow* sheet = [self window];
451 NSRect sheetFrame = [sheet frame];
462 // Calculate the new position of the sheet.
[all …]
/external/llvm/test/MC/Disassembler/AArch64/
Dbasic-a64-undefined.txt3 # Instructions notionally in the add/sub (extended register) sheet, but with
9 # Instructions notionally in the add/sub (immediate) sheet, but with
16 # Instructions notionally in the load/store (unsigned immediate) sheet.
26 # Instructions notionally in the logical (shifted register) sheet, but with out
30 # Instructions notionally in the move wide (immediate) sheet, but with out

12345678