summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.cc
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 21:53:27 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 21:53:27 +0000
commita4c368180132f1f5fc2e57af75115b0d36b542a7 (patch)
tree44069f6a2e8fbec60b3347736941fd1da20c7a00 /chrome/browser/views/location_bar_view.cc
parentc3b0173e79820fbb5252d873fc14ea70c1132bcc (diff)
downloadchromium_src-a4c368180132f1f5fc2e57af75115b0d36b542a7.zip
chromium_src-a4c368180132f1f5fc2e57af75115b0d36b542a7.tar.gz
chromium_src-a4c368180132f1f5fc2e57af75115b0d36b542a7.tar.bz2
Fixes a slew of random link/compile errors for views on gtk.
BUG=none TEST=none TBR=ben Review URL: http://codereview.chromium.org/115948 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17246 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/location_bar_view.cc')
-rw-r--r--chrome/browser/views/location_bar_view.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc
index ac2ebc6..df195c4 100644
--- a/chrome/browser/views/location_bar_view.cc
+++ b/chrome/browser/views/location_bar_view.cc
@@ -26,7 +26,6 @@
#include "chrome/browser/tab_contents/navigation_entry.h"
#include "chrome/browser/view_ids.h"
#include "chrome/browser/views/info_bubble.h"
-#include "chrome/browser/views/first_run_bubble.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/page_action.h"
#include "grit/generated_resources.h"
@@ -39,6 +38,7 @@
#if defined(OS_WIN)
#include "app/win_util.h"
+#include "chrome/browser/views/first_run_bubble.h"
#include "chrome/browser/views/page_info_window.h"
#endif
@@ -1003,7 +1003,11 @@ void LocationBarView::ShowFirstRunBubbleInternal(bool use_OEM_bubble) {
if (UILayoutIsRightToLeft())
bounds.set_x(location.x() - 20);
+#if defined(OS_WIN)
FirstRunBubble::Show(profile_, GetWindow(), bounds, use_OEM_bubble);
+#else
+ NOTIMPLEMENTED();
+#endif
}
// LocationBarImageView---------------------------------------------------------