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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2884243003: Add a mojo channel for frame messages. (Closed)
Patch Set: Fix presubmit warning I ignored Created 3 years, 7 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
« no previous file with comments | « content/renderer/input/frame_input_handler_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index f2449e26c4acd53ddaeb16ae97de45f372e8d74b..169b4ba5b21ce24060b13f7656dc9ecc41e5be6b 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -734,6 +734,12 @@ class CONTENT_EXPORT RenderFrameImpl
bool ScheduleFileChooser(const FileChooserParams& params,
blink::WebFileChooserCompletion* completion);
+ bool handling_select_range() const { return handling_select_range_; }
+
+ void set_is_pasting(bool value) { is_pasting_ = value; }
+
+ void set_handling_select_range(bool value) { handling_select_range_ = value; }
+
// Plugin-related functions --------------------------------------------------
#if BUILDFLAG(ENABLE_PLUGINS)
@@ -763,6 +769,16 @@ class CONTENT_EXPORT RenderFrameImpl
void OnSetPepperVolume(int32_t pp_instance, double volume);
#endif // ENABLE_PLUGINS
+#if defined(OS_MACOSX)
+ void OnCopyToFindPboard();
+#endif
+
+ // Dispatches the current state of selection on the webpage to the browser if
+ // it has changed.
+ // TODO(varunjain): delete this method once we figure out how to keep
+ // selection handles in sync with the webpage.
+ void SyncSelectionIfRequired();
+
protected:
explicit RenderFrameImpl(const CreateParams& params);
@@ -959,10 +975,6 @@ class CONTENT_EXPORT RenderFrameImpl
#endif
#endif
-#if defined(OS_MACOSX)
- void OnCopyToFindPboard();
-#endif
-
// Callback scheduled from OnSerializeAsMHTML for when writing serialized
// MHTML to file has been completed in the file thread.
void OnWriteMHTMLToDiskComplete(
@@ -1015,12 +1027,6 @@ class CONTENT_EXPORT RenderFrameImpl
void UpdateEncoding(blink::WebFrame* frame,
const std::string& encoding_name);
- // Dispatches the current state of selection on the webpage to the browser if
- // it has changed.
- // TODO(varunjain): delete this method once we figure out how to keep
- // selection handles in sync with the webpage.
- void SyncSelectionIfRequired();
-
bool RunJavaScriptDialog(JavaScriptDialogType type,
const base::string16& message,
const base::string16& default_value,
« no previous file with comments | « content/renderer/input/frame_input_handler_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698