summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents_view.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-03 03:06:37 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-03 03:06:37 +0000
commit1c41af415bd13bf25db073ee898eb416ead52ef4 (patch)
tree30ae00f0bc481cf88a1d27de5d21dbb493e0bbbc /chrome/browser/web_contents_view.h
parentc6fd2097f07574f616de929b75ae3bf31b0ca78b (diff)
downloadchromium_src-1c41af415bd13bf25db073ee898eb416ead52ef4.zip
chromium_src-1c41af415bd13bf25db073ee898eb416ead52ef4.tar.gz
chromium_src-1c41af415bd13bf25db073ee898eb416ead52ef4.tar.bz2
Tear out all the old infobar code.
http://crbug.com/4620 Review URL: http://codereview.chromium.org/13077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_contents_view.h')
-rw-r--r--chrome/browser/web_contents_view.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/browser/web_contents_view.h b/chrome/browser/web_contents_view.h
index c197c00..2bf1ac7 100644
--- a/chrome/browser/web_contents_view.h
+++ b/chrome/browser/web_contents_view.h
@@ -16,7 +16,6 @@
#include "chrome/browser/render_view_host_delegate.h"
class Browser;
-class InfoBarView;
class RenderViewHost;
class RenderWidgetHost;
class RenderWidgetHostView;
@@ -77,26 +76,6 @@ class WebContentsView : public RenderViewHostDelegate::View {
// implement functions that way rather than adding stuff here.
virtual void OnContentsDestroy() = 0;
- // Displays the given error in the info bar. A new info bar will be shown if
- // one is not shown already. The new error text will replace any existing
- // text shown by this same function.
- //
- // Note: this replacement behavior is historical; crashed plugin and out of
- // JS memory used the same message. This seems reasonable, but it may not be
- // the best thing for all error messages.
- virtual void DisplayErrorInInfoBar(const std::wstring& text) = 0;
-
- // Set/get whether or not the info bar is visible. See also the ChromeFrame
- // method InfoBarVisibilityChanged and TabContents::IsInfoBarVisible.
- virtual void SetInfoBarVisible(bool visible) = 0;
- virtual bool IsInfoBarVisible() const = 0;
-
- // Create the InfoBarView and returns it if none has been created.
- // Just returns existing InfoBarView if it is already created.
- // TODO(brettw) this probably shouldn't be here. There should be methods to
- // tell us what we need to display instead.
- virtual InfoBarView* GetInfoBarView() = 0;
-
// Sets the page title for the native widgets corresponding to the view. This
// is not strictly necessary and isn't expected to be displayed anywhere, but
// can aid certain debugging tools such as Spy++ on Windows where you are