summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/temp_scaffolding_stubs.cc2
-rw-r--r--chrome/common/temp_scaffolding_stubs.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc
index 851a924..5656b033 100644
--- a/chrome/common/temp_scaffolding_stubs.cc
+++ b/chrome/common/temp_scaffolding_stubs.cc
@@ -278,6 +278,7 @@ void DragDownload(const DownloadItem* download, SkBitmap* icon) {
} // namespace download_util
+#if defined(OS_LINUX)
void WindowSizer::GetBrowserWindowBounds(const std::wstring& app_name,
const gfx::Rect& specified_bounds,
Browser* browser,
@@ -291,6 +292,7 @@ void WindowSizer::GetBrowserWindowBounds(const std::wstring& app_name,
*window_bounds = gfx::Rect(0, 0, 1024, 768);
}
}
+#endif
#if defined(OS_MACOSX)
void HungRendererDialog::HideForTabContents(TabContents*) {
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index a5bd9b0..fe22906 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -355,6 +355,7 @@ class DockInfo {
void AdjustOtherWindowBounds() const { NOTIMPLEMENTED(); }
};
+#if defined(OS_LINUX)
class WindowSizer {
public:
static void GetBrowserWindowBounds(const std::wstring& app_name,
@@ -363,6 +364,7 @@ class WindowSizer {
gfx::Rect* window_bounds,
bool* maximized);
};
+#endif
//---------------------------------------------------------------------------
// These stubs are for Profile