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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.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_TAB_CONTENTS_TAB_CONTENTS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #include <deque> 10 #include <deque>
(...skipping 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 virtual void GoToEntryAtOffset(int offset); 845 virtual void GoToEntryAtOffset(int offset);
846 virtual void OnMissingPluginStatus(int status); 846 virtual void OnMissingPluginStatus(int status);
847 virtual void OnCrashedPlugin(const FilePath& plugin_path); 847 virtual void OnCrashedPlugin(const FilePath& plugin_path);
848 virtual void OnCrashedWorker(); 848 virtual void OnCrashedWorker();
849 virtual void OnDidGetApplicationInfo( 849 virtual void OnDidGetApplicationInfo(
850 int32 page_id, 850 int32 page_id,
851 const webkit_glue::WebApplicationInfo& info); 851 const webkit_glue::WebApplicationInfo& info);
852 virtual void OnPageContents(const GURL& url, 852 virtual void OnPageContents(const GURL& url,
853 int renderer_process_id, 853 int renderer_process_id,
854 int32 page_id, 854 int32 page_id,
855 const std::wstring& contents, 855 const string16& contents,
856 const std::string& language); 856 const std::string& language);
857 virtual void OnPageTranslated(int32 page_id, 857 virtual void OnPageTranslated(int32 page_id,
858 const std::string& original_lang, 858 const std::string& original_lang,
859 const std::string& translated_lang, 859 const std::string& translated_lang,
860 TranslateErrors::Type error_type); 860 TranslateErrors::Type error_type);
861 861
862 // RenderViewHostDelegate::Resource implementation. 862 // RenderViewHostDelegate::Resource implementation.
863 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host, 863 virtual void DidStartProvisionalLoadForFrame(RenderViewHost* render_view_host,
864 bool is_main_frame, 864 bool is_main_frame,
865 const GURL& url); 865 const GURL& url);
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 1284
1285 // See description above setter. 1285 // See description above setter.
1286 bool closed_by_user_gesture_; 1286 bool closed_by_user_gesture_;
1287 1287
1288 // --------------------------------------------------------------------------- 1288 // ---------------------------------------------------------------------------
1289 1289
1290 DISALLOW_COPY_AND_ASSIGN(TabContents); 1290 DISALLOW_COPY_AND_ASSIGN(TabContents);
1291 }; 1291 };
1292 1292
1293 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1293 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698