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

Unified Diff: content/public/browser/render_frame_host.h

Issue 2426503002: Make printing work better with OOPIF. (Closed)
Patch Set: Fix build, nits Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/render_frame_host.h
diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h
index 7dce43610c0488229c1f805b1209ca62183fe02c..2900f85aaf8b11c1626ce08d023b4e6380ecc955 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -212,6 +212,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
const std::vector<content::FileChooserFileInfo>& files,
FileChooserParams::Mode permissions) = 0;
+ // Returns true if the frame has selection.
+ virtual bool HasSelection() = 0;
+
// Text surrounding selection.
typedef base::Callback<
void(const base::string16& content, int start_offset, int end_offset)>

Powered by Google App Engine
This is Rietveld 408576698