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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 2714012: Convert page contents grabbing from wide to UTF16. The current code is a bit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 231
232 // Notification that a request for install info has completed. 232 // Notification that a request for install info has completed.
233 virtual void OnDidGetApplicationInfo( 233 virtual void OnDidGetApplicationInfo(
234 int32 page_id, 234 int32 page_id,
235 const webkit_glue::WebApplicationInfo& app_info) = 0; 235 const webkit_glue::WebApplicationInfo& app_info) = 0;
236 236
237 // Notification that the contents of the page has been loaded. 237 // Notification that the contents of the page has been loaded.
238 virtual void OnPageContents(const GURL& url, 238 virtual void OnPageContents(const GURL& url,
239 int renderer_process_id, 239 int renderer_process_id,
240 int32 page_id, 240 int32 page_id,
241 const std::wstring& contents, 241 const string16& contents,
242 const std::string& language) = 0; 242 const std::string& language) = 0;
243 243
244 // Notification that the page has been translated. 244 // Notification that the page has been translated.
245 virtual void OnPageTranslated(int32 page_id, 245 virtual void OnPageTranslated(int32 page_id,
246 const std::string& original_lang, 246 const std::string& original_lang,
247 const std::string& translated_lang, 247 const std::string& translated_lang,
248 TranslateErrors::Type error_type) = 0; 248 TranslateErrors::Type error_type) = 0;
249 }; 249 };
250 250
251 // Resource ------------------------------------------------------------------ 251 // Resource ------------------------------------------------------------------
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 virtual bool IsExternalTabContainer() const; 650 virtual bool IsExternalTabContainer() const;
651 651
652 // The RenderView has inserted one css file into page. 652 // The RenderView has inserted one css file into page.
653 virtual void DidInsertCSS() {} 653 virtual void DidInsertCSS() {}
654 654
655 // A different node in the page got focused. 655 // A different node in the page got focused.
656 virtual void FocusedNodeChanged() {} 656 virtual void FocusedNodeChanged() {}
657 }; 657 };
658 658
659 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 659 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698