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

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

Issue 2802010: Revert 49594 - Convert page contents grabbing from wide to UTF16. The current... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/437/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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 235
236 // Notification that a request for install info has completed. 236 // Notification that a request for install info has completed.
237 virtual void OnDidGetApplicationInfo( 237 virtual void OnDidGetApplicationInfo(
238 int32 page_id, 238 int32 page_id,
239 const webkit_glue::WebApplicationInfo& app_info) = 0; 239 const webkit_glue::WebApplicationInfo& app_info) = 0;
240 240
241 // Notification that the contents of the page has been loaded. 241 // Notification that the contents of the page has been loaded.
242 virtual void OnPageContents(const GURL& url, 242 virtual void OnPageContents(const GURL& url,
243 int renderer_process_id, 243 int renderer_process_id,
244 int32 page_id, 244 int32 page_id,
245 const string16& contents, 245 const std::wstring& contents,
246 const std::string& language) = 0; 246 const std::string& language) = 0;
247 247
248 // Notification that the page has been translated. 248 // Notification that the page has been translated.
249 virtual void OnPageTranslated(int32 page_id, 249 virtual void OnPageTranslated(int32 page_id,
250 const std::string& original_lang, 250 const std::string& original_lang,
251 const std::string& translated_lang, 251 const std::string& translated_lang,
252 TranslateErrors::Type error_type) = 0; 252 TranslateErrors::Type error_type) = 0;
253 }; 253 };
254 254
255 // Resource ------------------------------------------------------------------ 255 // Resource ------------------------------------------------------------------
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
658 virtual bool IsExternalTabContainer() const; 658 virtual bool IsExternalTabContainer() const;
659 659
660 // The RenderView has inserted one css file into page. 660 // The RenderView has inserted one css file into page.
661 virtual void DidInsertCSS() {} 661 virtual void DidInsertCSS() {}
662 662
663 // A different node in the page got focused. 663 // A different node in the page got focused.
664 virtual void FocusedNodeChanged() {} 664 virtual void FocusedNodeChanged() {}
665 }; 665 };
666 666
667 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 667 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698