Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Side by Side Diff: chrome/browser/render_view_host.h

Issue 13731: [chromium-reviews] Add "Enable spell check for this field" menu option in sub context menu for c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_HOST_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 // simple JS script to be executed). 244 // simple JS script to be executed).
245 void DebugBreak(bool force); 245 void DebugBreak(bool force);
246 246
247 // Edit operations. 247 // Edit operations.
248 void Undo(); 248 void Undo();
249 void Redo(); 249 void Redo();
250 void Cut(); 250 void Cut();
251 void Copy(); 251 void Copy();
252 void Paste(); 252 void Paste();
253 void Replace(const std::wstring& text); 253 void Replace(const std::wstring& text);
254 void ToggleSpellCheck();
254 void AddToDictionary(const std::wstring& word); 255 void AddToDictionary(const std::wstring& word);
255 void Delete(); 256 void Delete();
256 void SelectAll(); 257 void SelectAll();
257 258
258 // Downloads an image notifying the delegate appropriately. The returned 259 // Downloads an image notifying the delegate appropriately. The returned
259 // integer uniquely identifies the download for the lifetime of the browser. 260 // integer uniquely identifies the download for the lifetime of the browser.
260 int DownloadImage(const GURL& url, int image_size); 261 int DownloadImage(const GURL& url, int image_size);
261 262
262 // Requests application info for the specified page. This is an asynchronous 263 // Requests application info for the specified page. This is an asynchronous
263 // request. The delegate is notified by way of OnDidGetApplicationInfo when 264 // request. The delegate is notified by way of OnDidGetApplicationInfo when
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 virtual ~RenderViewHostFactory() {} 605 virtual ~RenderViewHostFactory() {}
605 606
606 virtual RenderViewHost* CreateRenderViewHost( 607 virtual RenderViewHost* CreateRenderViewHost(
607 SiteInstance* instance, 608 SiteInstance* instance,
608 RenderViewHostDelegate* delegate, 609 RenderViewHostDelegate* delegate,
609 int routing_id, 610 int routing_id,
610 HANDLE modal_dialog_event) = 0; 611 HANDLE modal_dialog_event) = 0;
611 }; 612 };
612 613
613 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ 614 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698