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

Side by Side Diff: sky/engine/web/WebLocalFrameImpl.h

Issue 928393003: Remove the concept of document.documentElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/engine/web/WebDocument.cpp ('k') | sky/engine/web/WebLocalFrameImpl.cpp » ('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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual WebDocument document() const override; 69 virtual WebDocument document() const override;
70 virtual void executeScript(const WebScriptSource&) override; 70 virtual void executeScript(const WebScriptSource&) override;
71 virtual void addMessageToConsole(const WebConsoleMessage&) override; 71 virtual void addMessageToConsole(const WebConsoleMessage&) override;
72 virtual void collectGarbage() override; 72 virtual void collectGarbage() override;
73 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle); 73 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle);
74 virtual void replaceSelection(const WebString&) override; 74 virtual void replaceSelection(const WebString&) override;
75 virtual void insertText(const WebString&) override; 75 virtual void insertText(const WebString&) override;
76 virtual void setMarkedText(const WebString&, unsigned location, unsigned len gth) override; 76 virtual void setMarkedText(const WebString&, unsigned location, unsigned len gth) override;
77 virtual void unmarkText() override; 77 virtual void unmarkText() override;
78 virtual bool hasMarkedText() const override; 78 virtual bool hasMarkedText() const override;
79 virtual WebRange markedRange() const override;
80 virtual bool firstRectForCharacterRange(unsigned location, unsigned length, WebRect&) const override;
81 virtual size_t characterIndexForPoint(const WebPoint&) const override;
82 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) ov erride; 79 virtual bool executeCommand(const WebString&, const WebNode& = WebNode()) ov erride;
83 virtual bool executeCommand(const WebString&, const WebString& value, const WebNode& = WebNode()) override; 80 virtual bool executeCommand(const WebString&, const WebString& value, const WebNode& = WebNode()) override;
84 virtual bool isCommandEnabled(const WebString&) const override; 81 virtual bool isCommandEnabled(const WebString&) const override;
85 virtual void enableContinuousSpellChecking(bool) override; 82 virtual void enableContinuousSpellChecking(bool) override;
86 virtual bool isContinuousSpellCheckingEnabled() const override; 83 virtual bool isContinuousSpellCheckingEnabled() const override;
87 virtual void requestTextChecking(const WebElement&) override; 84 virtual void requestTextChecking(const WebElement&) override;
88 virtual void replaceMisspelledRange(const WebString&) override; 85 virtual void replaceMisspelledRange(const WebString&) override;
89 virtual void removeSpellingMarkers() override; 86 virtual void removeSpellingMarkers() override;
90 virtual bool hasSelection() const override; 87 virtual bool hasSelection() const override;
91 virtual WebRange selectionRange() const override; 88 virtual WebRange selectionRange() const override;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 149 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
153 IntSize m_inputEventsOffsetForEmulation; 150 IntSize m_inputEventsOffsetForEmulation;
154 float m_inputEventsScaleFactorForEmulation; 151 float m_inputEventsScaleFactorForEmulation;
155 }; 152 };
156 153
157 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 154 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
158 155
159 } // namespace blink 156 } // namespace blink
160 157
161 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ 158 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebDocument.cpp ('k') | sky/engine/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698