| 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 270 const WebKit::WebConsoleMessage::Level&); | 270 const WebKit::WebConsoleMessage::Level&); |
| 271 | 271 |
| 272 // Edit operations. | 272 // Edit operations. |
| 273 void Undo(); | 273 void Undo(); |
| 274 void Redo(); | 274 void Redo(); |
| 275 void Cut(); | 275 void Cut(); |
| 276 void Copy(); | 276 void Copy(); |
| 277 void CopyToFindPboard(); | 277 void CopyToFindPboard(); |
| 278 void Paste(); | 278 void Paste(); |
| 279 void ToggleSpellCheck(); | 279 void ToggleSpellCheck(); |
| 280 void AddToDictionary(const string16& word); | |
| 281 void Delete(); | 280 void Delete(); |
| 282 void SelectAll(); | 281 void SelectAll(); |
| 283 void ToggleSpellPanel(bool is_currently_visible); | 282 void ToggleSpellPanel(bool is_currently_visible); |
| 284 | 283 |
| 285 // Downloads an image notifying the FavIcon delegate appropriately. The | 284 // Downloads an image notifying the FavIcon delegate appropriately. The |
| 286 // returned integer uniquely identifies the download for the lifetime of the | 285 // returned integer uniquely identifies the download for the lifetime of the |
| 287 // browser. | 286 // browser. |
| 288 int DownloadFavIcon(const GURL& url, int image_size); | 287 int DownloadFavIcon(const GURL& url, int image_size); |
| 289 | 288 |
| 290 // Requests application info for the specified page. This is an asynchronous | 289 // Requests application info for the specified page. This is an asynchronous |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 | 660 |
| 662 // True if the render view can be shut down suddenly. | 661 // True if the render view can be shut down suddenly. |
| 663 bool sudden_termination_allowed_; | 662 bool sudden_termination_allowed_; |
| 664 | 663 |
| 665 NotificationRegistrar registrar_; | 664 NotificationRegistrar registrar_; |
| 666 | 665 |
| 667 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 666 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 668 }; | 667 }; |
| 669 | 668 |
| 670 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 669 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |