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

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

Issue 2508923003: Make printing work better with OOPIF. (try 2) (Closed)
Patch Set: Fix android_webview Created 4 years, 1 month 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 acfde9b4464b34405454ee9805801d8c1514cede..39ef3676631ec7140d4d141398cab27bbf795619 100644
--- a/content/public/browser/render_frame_host.h
+++ b/content/public/browser/render_frame_host.h
@@ -211,6 +211,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
const std::vector<content::FileChooserFileInfo>& files,
FileChooserParams::Mode permissions) = 0;
+ // Returns true if the frame has a selection.
+ virtual bool HasSelection() = 0;
+
// Text surrounding selection.
typedef base::Callback<
void(const base::string16& content, int start_offset, int end_offset)>
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/public/renderer/render_frame_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698