| 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_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 5 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| 7 | 7 |
| 8 // This file provides declarations and stub definitions for classes we encouter | 8 // This file provides declarations and stub definitions for classes we encouter |
| 9 // during the porting effort. It is not meant to be permanent, and classes will | 9 // during the porting effort. It is not meant to be permanent, and classes will |
| 10 // be removed from here as they are fleshed out more completely. | 10 // be removed from here as they are fleshed out more completely. |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/logging.h" | 16 #include "base/logging.h" |
| 17 #include "base/message_loop.h" | 17 #include "base/message_loop.h" |
| 18 #include "base/ref_counted.h" | 18 #include "base/ref_counted.h" |
| 19 #include "base/gfx/native_widget_types.h" |
| 19 #include "base/gfx/rect.h" | 20 #include "base/gfx/rect.h" |
| 20 #include "chrome/browser/bookmarks/bookmark_service.h" | 21 #include "chrome/browser/bookmarks/bookmark_service.h" |
| 21 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
| 22 #include "chrome/browser/cache_manager_host.h" | 23 #include "chrome/browser/cache_manager_host.h" |
| 23 #include "chrome/browser/search_engines/template_url.h" | 24 #include "chrome/browser/search_engines/template_url.h" |
| 24 #include "chrome/browser/tab_contents/navigation_entry.h" | 25 #include "chrome/browser/tab_contents/navigation_entry.h" |
| 25 #include "chrome/browser/tab_contents/tab_contents_type.h" | 26 #include "chrome/browser/tab_contents/tab_contents_type.h" |
| 26 #include "chrome/browser/renderer_host/render_view_host.h" | 27 #include "chrome/browser/renderer_host/render_view_host.h" |
| 27 #include "chrome/browser/renderer_host/render_widget_host.h" | 28 #include "chrome/browser/renderer_host/render_widget_host.h" |
| 28 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 29 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 29 #include "chrome/common/navigation_types.h" | 30 #include "chrome/common/navigation_types.h" |
| 30 #include "chrome/common/notification_service.h" | 31 #include "chrome/common/notification_service.h" |
| 31 #include "chrome/common/page_transition_types.h" | 32 #include "chrome/common/page_transition_types.h" |
| 32 #include "chrome/common/pref_names.h" | 33 #include "chrome/common/pref_names.h" |
| 33 #include "chrome/common/pref_service.h" | 34 #include "chrome/common/pref_service.h" |
| 34 #include "chrome/common/render_messages.h" | |
| 35 #include "googleurl/src/gurl.h" | 35 #include "googleurl/src/gurl.h" |
| 36 #include "skia/include/SkBitmap.h" | 36 #include "skia/include/SkBitmap.h" |
| 37 #include "webkit/glue/password_form.h" | 37 #include "webkit/glue/password_form.h" |
| 38 #include "webkit/glue/window_open_disposition.h" | 38 #include "webkit/glue/window_open_disposition.h" |
| 39 | 39 |
| 40 class Browser; | 40 class Browser; |
| 41 class BookmarkService; | 41 class BookmarkService; |
| 42 class CommandLine; | 42 class CommandLine; |
| 43 class ConstrainedWindow; | 43 class ConstrainedWindow; |
| 44 class DownloadManager; | 44 class DownloadManager; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 58 class SpellChecker; | 58 class SpellChecker; |
| 59 class TabContents; | 59 class TabContents; |
| 60 struct ThumbnailScore; | 60 struct ThumbnailScore; |
| 61 class Task; | 61 class Task; |
| 62 class TemplateURL; | 62 class TemplateURL; |
| 63 class TemplateURLRef; | 63 class TemplateURLRef; |
| 64 class URLRequestContext; | 64 class URLRequestContext; |
| 65 class UserScriptMaster; | 65 class UserScriptMaster; |
| 66 class VisitedLinkMaster; | 66 class VisitedLinkMaster; |
| 67 class WebContents; | 67 class WebContents; |
| 68 class WebPreferences; |
| 68 | 69 |
| 69 namespace IPC { | 70 namespace IPC { |
| 70 class Message; | 71 class Message; |
| 71 } | 72 } |
| 72 | 73 |
| 73 //--------------------------------------------------------------------------- | 74 //--------------------------------------------------------------------------- |
| 74 // These stubs are for Browser_main() | 75 // These stubs are for Browser_main() |
| 75 | 76 |
| 76 // TODO(port): MessageWindow is very windows-specific, but provides the concept | 77 // TODO(port): MessageWindow is very windows-specific, but provides the concept |
| 77 // of singleton browser process per user-data-dir. Investigate how | 78 // of singleton browser process per user-data-dir. Investigate how |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 class BrokerServices { | 312 class BrokerServices { |
| 312 public: | 313 public: |
| 313 void Init() { NOTIMPLEMENTED(); } | 314 void Init() { NOTIMPLEMENTED(); } |
| 314 }; | 315 }; |
| 315 | 316 |
| 316 } // namespace sandbox | 317 } // namespace sandbox |
| 317 | 318 |
| 318 class IconManager { | 319 class IconManager { |
| 319 }; | 320 }; |
| 320 | 321 |
| 321 struct ViewHostMsg_Resource_Request; | 322 struct ViewHostMsg_DidPrintPage_Params; |
| 323 struct ViewHostMsg_FrameNavigate_Params; |
| 322 | 324 |
| 323 class ResourceDispatcherHost { | 325 class ResourceDispatcherHost { |
| 324 public: | 326 public: |
| 325 explicit ResourceDispatcherHost(MessageLoop* loop) {} | 327 explicit ResourceDispatcherHost(MessageLoop* loop) {} |
| 326 | 328 |
| 327 class Receiver { | 329 class Receiver { |
| 328 public: | 330 public: |
| 329 virtual bool Send(IPC::Message* message) = 0; | 331 virtual bool Send(IPC::Message* message) = 0; |
| 330 }; | 332 }; |
| 331 void OnClosePageACK(int, int); | 333 void OnClosePageACK(int, int); |
| (...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 return L""; | 1009 return L""; |
| 1008 } | 1010 } |
| 1009 }; | 1011 }; |
| 1010 | 1012 |
| 1011 class SimpleAlertInfoBarDelegate : public InfoBarDelegate { | 1013 class SimpleAlertInfoBarDelegate : public InfoBarDelegate { |
| 1012 public: | 1014 public: |
| 1013 SimpleAlertInfoBarDelegate(WebContents*, const std::wstring&, void*) {} | 1015 SimpleAlertInfoBarDelegate(WebContents*, const std::wstring&, void*) {} |
| 1014 }; | 1016 }; |
| 1015 | 1017 |
| 1016 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 1018 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |