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

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

Issue 770223002: Remove lots of code from the WebWidget/WebView/WebFrame layer. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) override; 116 virtual void moveRangeSelection(const WebPoint& base, const WebPoint& extent ) override;
117 virtual void moveCaretSelection(const WebPoint&) override; 117 virtual void moveCaretSelection(const WebPoint&) override;
118 virtual bool setEditableSelectionOffsets(int start, int end) override; 118 virtual bool setEditableSelectionOffsets(int start, int end) override;
119 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override; 119 virtual bool setCompositionFromExistingText(int compositionStart, int compos itionEnd, const WebVector<WebCompositionUnderline>& underlines) override;
120 virtual void extendSelectionAndDelete(int before, int after) override; 120 virtual void extendSelectionAndDelete(int before, int after) override;
121 virtual void setCaretVisible(bool) override; 121 virtual void setCaretVisible(bool) override;
122 122
123 virtual WebString contentAsText(size_t maxChars) const override; 123 virtual WebString contentAsText(size_t maxChars) const override;
124 virtual WebString contentAsMarkup() const override; 124 virtual WebString contentAsMarkup() const override;
125 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const override; 125 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const override;
126 virtual WebString markerTextForListItem(const WebElement&) const override;
127 virtual WebRect selectionBoundsRect() const override;
128 126
129 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const override; 127 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const override;
130 128
131 static WebLocalFrameImpl* create(WebFrameClient*); 129 static WebLocalFrameImpl* create(WebFrameClient*);
132 virtual ~WebLocalFrameImpl(); 130 virtual ~WebLocalFrameImpl();
133 131
134 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*); 132 PassRefPtr<LocalFrame> initializeCoreFrame(FrameHost*);
135 133
136 void createFrameView(); 134 void createFrameView();
137 135
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 176 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
179 IntSize m_inputEventsOffsetForEmulation; 177 IntSize m_inputEventsOffsetForEmulation;
180 float m_inputEventsScaleFactorForEmulation; 178 float m_inputEventsScaleFactorForEmulation;
181 }; 179 };
182 180
183 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 181 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
184 182
185 } // namespace blink 183 } // namespace blink
186 184
187 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ 185 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698