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

Side by Side Diff: webkit/mocks/mock_webframe.h

Issue 6677069: Provisional fix for WebFrame API change upstream. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/mocks/mock_webframe.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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_MOCKS_MOCK_WEBFRAME_H_ 5 #ifndef WEBKIT_MOCKS_MOCK_WEBFRAME_H_
6 #define WEBKIT_MOCKS_MOCK_WEBFRAME_H_ 6 #define WEBKIT_MOCKS_MOCK_WEBFRAME_H_
7 7
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 virtual void cancelPendingScopingEffort(); 190 virtual void cancelPendingScopingEffort();
191 virtual void increaseMatchCount(int count, int identifier); 191 virtual void increaseMatchCount(int count, int identifier);
192 virtual void resetMatchCount(); 192 virtual void resetMatchCount();
193 virtual bool registerPasswordListener( 193 virtual bool registerPasswordListener(
194 WebInputElement, 194 WebInputElement,
195 WebPasswordAutocompleteListener*); 195 WebPasswordAutocompleteListener*);
196 virtual void notifiyPasswordListenerOfAutocomplete( 196 virtual void notifiyPasswordListenerOfAutocomplete(
197 const WebInputElement&); 197 const WebInputElement&);
198 virtual WebString contentAsText(size_t maxChars) const; 198 virtual WebString contentAsText(size_t maxChars) const;
199 virtual WebString contentAsMarkup() const; 199 virtual WebString contentAsMarkup() const;
200 virtual WebString renderTreeAsText(bool showDebugInfo) const;
200 virtual WebString renderTreeAsText() const; 201 virtual WebString renderTreeAsText() const;
201 virtual WebString counterValueForElementById(const WebString& id) const; 202 virtual WebString counterValueForElementById(const WebString& id) const;
202 virtual WebString markerTextForListItem(const WebElement&) const; 203 virtual WebString markerTextForListItem(const WebElement&) const;
203 virtual int pageNumberForElementById(const WebString& id, 204 virtual int pageNumberForElementById(const WebString& id,
204 float pageWidthInPixels, 205 float pageWidthInPixels,
205 float pageHeightInPixels) const; 206 float pageHeightInPixels) const;
206 virtual WebRect selectionBoundsRect() const; 207 virtual WebRect selectionBoundsRect() const;
207 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; 208 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const;
208 virtual bool pauseSVGAnimation(const WebString& animationId, 209 virtual bool pauseSVGAnimation(const WebString& animationId,
209 double time, 210 double time,
210 const WebString& elementId); 211 const WebString& elementId);
212 virtual WebString layerTreeAsText(bool showDebugInfo) const;
211 virtual WebString layerTreeAsText() const; 213 virtual WebString layerTreeAsText() const;
212 214
213 private: 215 private:
214 DISALLOW_COPY_AND_ASSIGN(MockWebFrame); 216 DISALLOW_COPY_AND_ASSIGN(MockWebFrame);
215 }; 217 };
216 218
217 } // namespace webkit_glue 219 } // namespace webkit_glue
218 220
219 #endif // WEBKIT_MOCKS_MOCK_WEBFRAME_H_ 221 #endif // WEBKIT_MOCKS_MOCK_WEBFRAME_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/mocks/mock_webframe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698