| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 // Logs a message to the console of a frame in the page. | 262 // Logs a message to the console of a frame in the page. |
| 263 void AddMessageToConsole(const string16& frame_xpath, | 263 void AddMessageToConsole(const string16& frame_xpath, |
| 264 const string16& message, | 264 const string16& message, |
| 265 const WebKit::WebConsoleMessage::Level&); | 265 const WebKit::WebConsoleMessage::Level&); |
| 266 | 266 |
| 267 // Edit operations. | 267 // Edit operations. |
| 268 void Undo(); | 268 void Undo(); |
| 269 void Redo(); | 269 void Redo(); |
| 270 void Cut(); | 270 void Cut(); |
| 271 void Copy(); | 271 void Copy(); |
| 272 void CopyToFindPboard(); |
| 272 void Paste(); | 273 void Paste(); |
| 273 void Replace(const std::wstring& text); | 274 void Replace(const std::wstring& text); |
| 274 void ToggleSpellCheck(); | 275 void ToggleSpellCheck(); |
| 275 void AddToDictionary(const std::wstring& word); | 276 void AddToDictionary(const std::wstring& word); |
| 276 void Delete(); | 277 void Delete(); |
| 277 void SelectAll(); | 278 void SelectAll(); |
| 278 void ToggleSpellPanel(bool is_currently_visible); | 279 void ToggleSpellPanel(bool is_currently_visible); |
| 279 | 280 |
| 280 // Downloads an image notifying the FavIcon delegate appropriately. The | 281 // Downloads an image notifying the FavIcon delegate appropriately. The |
| 281 // returned integer uniquely identifies the download for the lifetime of the | 282 // returned integer uniquely identifies the download for the lifetime of the |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 // While in this mode, mouse click is converted into InspectElement | 656 // While in this mode, mouse click is converted into InspectElement |
| 656 // command. | 657 // command. |
| 657 bool in_inspect_element_mode_; | 658 bool in_inspect_element_mode_; |
| 658 | 659 |
| 659 NotificationRegistrar registrar_; | 660 NotificationRegistrar registrar_; |
| 660 | 661 |
| 661 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 662 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 662 }; | 663 }; |
| 663 | 664 |
| 664 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 665 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |