| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index 4cbbcec679ac4453ec930b28183b212f5fb6aa31..d84774fdcc36387d2c332fd439e548dec969559f 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -328,10 +328,17 @@ class WebContents : public PageNavigator,
|
| // heap-allocated pointer is owned by the caller.
|
| virtual WebContents* Clone() = 0;
|
|
|
| - // Actions on the focused frame ----------------------------------------------
|
| -
|
| + // Reloads the focused frame.
|
| virtual void ReloadFocusedFrame(bool ignore_cache) = 0;
|
|
|
| + // Editing commands ----------------------------------------------------------
|
| +
|
| + // Replaces the currently selected word or a word around the cursor.
|
| + virtual void Replace(const base::string16& word) = 0;
|
| +
|
| + // Replaces the misspelling in the current selection.
|
| + virtual void ReplaceMisspelling(const base::string16& word) = 0;
|
| +
|
| // Views and focus -----------------------------------------------------------
|
|
|
| // Focuses the first (last if |reverse| is true) element in the page.
|
|
|