Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: chrome/test/base/test_browser_window.h

Issue 10332185: Update behavior of one-click infobar to remove modal dialog, add "undo". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void ToggleBookmarkBar() OVERRIDE {} 92 virtual void ToggleBookmarkBar() OVERRIDE {}
93 virtual void ShowAboutChromeDialog() OVERRIDE; 93 virtual void ShowAboutChromeDialog() OVERRIDE;
94 virtual void ShowUpdateChromeDialog() OVERRIDE {} 94 virtual void ShowUpdateChromeDialog() OVERRIDE {}
95 virtual void ShowTaskManager() OVERRIDE {} 95 virtual void ShowTaskManager() OVERRIDE {}
96 virtual void ShowBackgroundPages() OVERRIDE {} 96 virtual void ShowBackgroundPages() OVERRIDE {}
97 virtual void ShowBookmarkBubble(const GURL& url, 97 virtual void ShowBookmarkBubble(const GURL& url,
98 bool already_bookmarked) OVERRIDE {} 98 bool already_bookmarked) OVERRIDE {}
99 virtual void ShowChromeToMobileBubble() OVERRIDE {} 99 virtual void ShowChromeToMobileBubble() OVERRIDE {}
100 #if defined(ENABLE_ONE_CLICK_SIGNIN) 100 #if defined(ENABLE_ONE_CLICK_SIGNIN)
101 virtual void ShowOneClickSigninBubble( 101 virtual void ShowOneClickSigninBubble(
102 const base::Closure& learn_more_callback, 102 const StartSyncCallback& start_sync_callback) OVERRIDE {}
103 const base::Closure& advanced_callback) OVERRIDE {}
104 #endif 103 #endif
105 virtual bool IsDownloadShelfVisible() const OVERRIDE; 104 virtual bool IsDownloadShelfVisible() const OVERRIDE;
106 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 105 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
107 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {} 106 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE {}
108 virtual void UserChangedTheme() OVERRIDE {} 107 virtual void UserChangedTheme() OVERRIDE {}
109 virtual int GetExtraRenderViewHeight() const OVERRIDE; 108 virtual int GetExtraRenderViewHeight() const OVERRIDE;
110 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} 109 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {}
111 virtual void ShowPageInfo(Profile* profile, 110 virtual void ShowPageInfo(Profile* profile,
112 const GURL& url, 111 const GURL& url,
113 const content::SSLStatus& ssl, 112 const content::SSLStatus& ssl,
(...skipping 28 matching lines...) Expand all
142 protected: 141 protected:
143 virtual void DestroyBrowser() OVERRIDE {} 142 virtual void DestroyBrowser() OVERRIDE {}
144 143
145 private: 144 private:
146 TestLocationBar location_bar_; 145 TestLocationBar location_bar_;
147 146
148 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 147 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
149 }; 148 };
150 149
151 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ 150 #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698