diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cc | 8 | ||||
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.h | 27 |
2 files changed, 32 insertions, 3 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc index 96a7bed..a1727c8 100644 --- a/chrome/common/temp_scaffolding_stubs.cc +++ b/chrome/common/temp_scaffolding_stubs.cc @@ -531,3 +531,11 @@ views::Window* CreateInputWindow(gfx::NativeWindow parent_hwnd, return new views::Window(); } +namespace download_util { + +void DragDownload(const DownloadItem* download, SkBitmap* icon) { + NOTIMPLEMENTED(); +} + +} // namespace download_util + diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h index 1b7d1e2..e8f10ca 100644 --- a/chrome/common/temp_scaffolding_stubs.h +++ b/chrome/common/temp_scaffolding_stubs.h @@ -254,9 +254,6 @@ class BrokerServices { } // namespace sandbox -class IconManager { -}; - struct ViewHostMsg_DidPrintPage_Params; namespace views { @@ -395,6 +392,30 @@ class BookmarkBarView { //--------------------------------------------------------------------------- // These stubs are for Browser +namespace download_util { +void DragDownload(const DownloadItem* download, SkBitmap* icon); +} // namespace download_util + +class IconLoader { + public: + enum IconSize { + SMALL = 0, // 16x16 + NORMAL, // 32x32 + LARGE + }; +}; + +class IconManager : public CancelableRequestProvider { + public: + typedef CancelableRequestProvider::Handle Handle; + typedef Callback2<Handle, SkBitmap*>::Type IconRequestCallback; + SkBitmap* LookupIcon(const std::wstring&, IconLoader::IconSize) + { NOTIMPLEMENTED(); return NULL; } + Handle LoadIcon(const std::wstring&, IconLoader::IconSize, + CancelableRequestConsumerBase*, IconRequestCallback*) + { NOTIMPLEMENTED(); return NULL; } +}; + class DebuggerWindow : public base::RefCountedThreadSafe<DebuggerWindow> { public: }; |