| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Paste(); | 272 void Paste(); |
| 273 void Replace(const std::wstring& text); | 273 void Replace(const std::wstring& text); |
| 274 void ToggleSpellCheck(); | 274 void ToggleSpellCheck(); |
| 275 void AddToDictionary(const std::wstring& word); | 275 void AddToDictionary(const std::wstring& word); |
| 276 void Delete(); | 276 void Delete(); |
| 277 void SelectAll(); | 277 void SelectAll(); |
| 278 void ToggleSpellPanel(bool is_currently_visible); |
| 278 | 279 |
| 279 // Downloads an image notifying the FavIcon delegate appropriately. The | 280 // Downloads an image notifying the FavIcon delegate appropriately. The |
| 280 // returned integer uniquely identifies the download for the lifetime of the | 281 // returned integer uniquely identifies the download for the lifetime of the |
| 281 // browser. | 282 // browser. |
| 282 int DownloadFavIcon(const GURL& url, int image_size); | 283 int DownloadFavIcon(const GURL& url, int image_size); |
| 283 | 284 |
| 284 // Requests application info for the specified page. This is an asynchronous | 285 // Requests application info for the specified page. This is an asynchronous |
| 285 // request. The delegate is notified by way of OnDidGetApplicationInfo when | 286 // request. The delegate is notified by way of OnDidGetApplicationInfo when |
| 286 // the data is available. | 287 // the data is available. |
| 287 void GetApplicationInfo(int32 page_id); | 288 void GetApplicationInfo(int32 page_id); |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 // While in this mode, mouse click is converted into InspectElement | 653 // While in this mode, mouse click is converted into InspectElement |
| 653 // command. | 654 // command. |
| 654 bool in_inspect_element_mode_; | 655 bool in_inspect_element_mode_; |
| 655 | 656 |
| 656 NotificationRegistrar registrar_; | 657 NotificationRegistrar registrar_; |
| 657 | 658 |
| 658 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 659 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 659 }; | 660 }; |
| 660 | 661 |
| 661 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 662 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |