summaryrefslogtreecommitdiffstats
path: root/chrome/common/temp_scaffolding_stubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/temp_scaffolding_stubs.h')
-rw-r--r--chrome/common/temp_scaffolding_stubs.h27
1 files changed, 24 insertions, 3 deletions
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:
};