summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-12 08:27:27 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-12 08:27:27 +0000
commitc0cc309789b2491e53ccb1b642b9907de1919c55 (patch)
treef9fedb9e54048c89113722819ced27a1fbbaf959 /chrome/browser/tab_contents
parenta954bf7d89777070fa9980d6692e3787dd61e26f (diff)
downloadchromium_src-c0cc309789b2491e53ccb1b642b9907de1919c55.zip
chromium_src-c0cc309789b2491e53ccb1b642b9907de1919c55.tar.gz
chromium_src-c0cc309789b2491e53ccb1b642b9907de1919c55.tar.bz2
Try to fix build.
TBR=pinkerton git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/tab_contents.cc2
-rw-r--r--chrome/browser/tab_contents/tab_contents.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 5d384ce..261d547 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -727,9 +727,11 @@ void TabContents::Copy() {
render_view_host()->Copy();
}
+#if defined(OS_MACOSX)
void TabContents::CopyToFindPboard() {
render_view_host()->CopyToFindPboard();
}
+#endif
void TabContents::Paste() {
render_view_host()->Paste();
diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h
index 1d91cd5..30c29e9 100644
--- a/chrome/browser/tab_contents/tab_contents.h
+++ b/chrome/browser/tab_contents/tab_contents.h
@@ -317,7 +317,9 @@ class TabContents : public PageNavigator,
// cut/copy/paste focus. (http://b/1117225)
virtual void Cut();
virtual void Copy();
+#if defined(OS_MACOSX)
virtual void CopyToFindPboard();
+#endif
virtual void Paste();
// Called on a TabContents when it isn't a popup, but a new window.