| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index adf66eed6e52bc7655aa02271d5100046cbf6930..045d4be6bdca2e8d4b7e28ac01b1bb6c8488c198 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -737,6 +737,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)
|
| @@ -766,6 +772,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(bool user_initiated);
|
| +
|
| protected:
|
| explicit RenderFrameImpl(const CreateParams& params);
|
|
|
| @@ -961,10 +977,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(
|
| @@ -1017,12 +1029,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 user_initiated);
|
| -
|
| bool RunJavaScriptDialog(JavaScriptDialogType type,
|
| const base::string16& message,
|
| const base::string16& default_value,
|
|
|