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/WebViewImpl.h

Issue 513723003: Add pixel readback to page popup (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added WebPagePopup::positionRelativeToOwner Created 6 years, 3 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 | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 const WebString& text, 119 const WebString& text,
120 const WebVector<WebCompositionUnderline>& underlines, 120 const WebVector<WebCompositionUnderline>& underlines,
121 int selectionStart, 121 int selectionStart,
122 int selectionEnd) OVERRIDE; 122 int selectionEnd) OVERRIDE;
123 virtual bool confirmComposition() OVERRIDE; 123 virtual bool confirmComposition() OVERRIDE;
124 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) OVERRIDE; 124 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) OVERRIDE;
125 virtual bool confirmComposition(const WebString& text) OVERRIDE; 125 virtual bool confirmComposition(const WebString& text) OVERRIDE;
126 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE; 126 virtual bool compositionRange(size_t* location, size_t* length) OVERRIDE;
127 virtual WebTextInputInfo textInputInfo() OVERRIDE; 127 virtual WebTextInputInfo textInputInfo() OVERRIDE;
128 virtual WebColor backgroundColor() const OVERRIDE; 128 virtual WebColor backgroundColor() const OVERRIDE;
129 virtual WebPagePopup* pagePopup() const OVERRIDE;
129 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE ; 130 virtual bool selectionBounds(WebRect& anchor, WebRect& focus) const OVERRIDE ;
130 virtual void didShowCandidateWindow() OVERRIDE; 131 virtual void didShowCandidateWindow() OVERRIDE;
131 virtual void didUpdateCandidateWindow() OVERRIDE; 132 virtual void didUpdateCandidateWindow() OVERRIDE;
132 virtual void didHideCandidateWindow() OVERRIDE; 133 virtual void didHideCandidateWindow() OVERRIDE;
133 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio n& end) const OVERRIDE; 134 virtual bool selectionTextDirection(WebTextDirection& start, WebTextDirectio n& end) const OVERRIDE;
134 virtual bool isSelectionAnchorFirst() const OVERRIDE; 135 virtual bool isSelectionAnchorFirst() const OVERRIDE;
135 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID E; 136 virtual bool caretOrSelectionRange(size_t* location, size_t* length) OVERRID E;
136 virtual void setTextDirection(WebTextDirection) OVERRIDE; 137 virtual void setTextDirection(WebTextDirection) OVERRIDE;
137 virtual bool isAcceleratedCompositingActive() const OVERRIDE; 138 virtual bool isAcceleratedCompositingActive() const OVERRIDE;
138 virtual void willCloseLayerTreeView() OVERRIDE; 139 virtual void willCloseLayerTreeView() OVERRIDE;
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 float m_topControlsContentOffset; 724 float m_topControlsContentOffset;
724 }; 725 };
725 726
726 // We have no ways to check if the specified WebView is an instance of 727 // We have no ways to check if the specified WebView is an instance of
727 // WebViewImpl because WebViewImpl is the only implementation of WebView. 728 // WebViewImpl because WebViewImpl is the only implementation of WebView.
728 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 729 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
729 730
730 } // namespace blink 731 } // namespace blink
731 732
732 #endif 733 #endif
OLDNEW
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698