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

Side by Side Diff: Source/web/WebFrameImpl.h

Issue 198683002: Make it possible to override the tickmarks for a WebFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/WebFrameImpl.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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 virtual void scopeStringMatches( 204 virtual void scopeStringMatches(
205 int identifier, const WebString& searchText, const WebFindOptions&, 205 int identifier, const WebString& searchText, const WebFindOptions&,
206 bool reset) OVERRIDE; 206 bool reset) OVERRIDE;
207 virtual void cancelPendingScopingEffort() OVERRIDE; 207 virtual void cancelPendingScopingEffort() OVERRIDE;
208 virtual void increaseMatchCount(int count, int identifier) OVERRIDE; 208 virtual void increaseMatchCount(int count, int identifier) OVERRIDE;
209 virtual void resetMatchCount() OVERRIDE; 209 virtual void resetMatchCount() OVERRIDE;
210 virtual int findMatchMarkersVersion() const OVERRIDE; 210 virtual int findMatchMarkersVersion() const OVERRIDE;
211 virtual WebFloatRect activeFindMatchRect() OVERRIDE; 211 virtual WebFloatRect activeFindMatchRect() OVERRIDE;
212 virtual void findMatchRects(WebVector<WebFloatRect>&) OVERRIDE; 212 virtual void findMatchRects(WebVector<WebFloatRect>&) OVERRIDE;
213 virtual int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionR ect) OVERRIDE; 213 virtual int selectNearestFindMatch(const WebFloatPoint&, WebRect* selectionR ect) OVERRIDE;
214 virtual void setTickmarks(const WebVector<WebRect>&) OVERRIDE;
214 215
215 virtual void sendOrientationChangeEvent(int orientation) OVERRIDE; 216 virtual void sendOrientationChangeEvent(int orientation) OVERRIDE;
216 217
217 virtual void dispatchMessageEventWithOriginCheck( 218 virtual void dispatchMessageEventWithOriginCheck(
218 const WebSecurityOrigin& intendedTargetOrigin, 219 const WebSecurityOrigin& intendedTargetOrigin,
219 const WebDOMEvent&) OVERRIDE; 220 const WebDOMEvent&) OVERRIDE;
220 221
221 virtual WebString contentAsText(size_t maxChars) const OVERRIDE; 222 virtual WebString contentAsText(size_t maxChars) const OVERRIDE;
222 virtual WebString contentAsMarkup() const OVERRIDE; 223 virtual WebString contentAsMarkup() const OVERRIDE;
223 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE; 224 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE;
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 510 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
510 WebCore::IntSize m_inputEventsOffsetForEmulation; 511 WebCore::IntSize m_inputEventsOffsetForEmulation;
511 float m_inputEventsScaleFactorForEmulation; 512 float m_inputEventsScaleFactorForEmulation;
512 }; 513 };
513 514
514 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); 515 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true);
515 516
516 } // namespace blink 517 } // namespace blink
517 518
518 #endif 519 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/FrameView.cpp ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698