summaryrefslogtreecommitdiffstats
path: root/chrome/test/test_browser_window.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 02:26:16 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-23 02:26:16 +0000
commitd0cc9fb540e7d11f8b154d513bf0a1c75460245c (patch)
tree961c4d80f8628220b8798c67efb12a37070fb960 /chrome/test/test_browser_window.h
parent48bdfbf85c790ee91ec8f31242aaec1164273221 (diff)
downloadchromium_src-d0cc9fb540e7d11f8b154d513bf0a1c75460245c.zip
chromium_src-d0cc9fb540e7d11f8b154d513bf0a1c75460245c.tar.gz
chromium_src-d0cc9fb540e7d11f8b154d513bf0a1c75460245c.tar.bz2
Rejiggers the keyword editor so that the UI is independent of the model rather than being derived from it. This reduces the spaghetti somewhat. Also decouples the notion of a native view hierarchy from the location in TabContents::PageHasOSDD where the template URL fetcher is spawned. The Template URL Fetcher now simply retains a reference to the TabContents that created it. If the TabContents is destroyed before the fetch completes, we just discard the data retrieved without adding a keyword.
BUG=none TEST=none Review URL: http://codereview.chromium.org/140054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/test_browser_window.h')
-rw-r--r--chrome/test/test_browser_window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/test/test_browser_window.h b/chrome/test/test_browser_window.h
index 665fd47..2eb5af0 100644
--- a/chrome/test/test_browser_window.h
+++ b/chrome/test/test_browser_window.h
@@ -48,6 +48,8 @@ class TestBrowserWindow : public BrowserWindow {
virtual void FocusToolbar() {}
virtual bool IsBookmarkBarVisible() const { return false; }
virtual gfx::Rect GetRootWindowResizerRect() const { return gfx::Rect(); }
+ virtual void ConfirmAddSearchProvider(const TemplateURL* template_url,
+ Profile* profile) {}
virtual void ToggleBookmarkBar() {}
virtual void ShowAboutChromeDialog() {}
virtual void ShowTaskManager() {}