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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.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: Don't call ok in tests of advanced link Created 8 years, 7 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_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 virtual void ToggleBookmarkBar() OVERRIDE; 263 virtual void ToggleBookmarkBar() OVERRIDE;
264 virtual void ShowAboutChromeDialog() OVERRIDE; 264 virtual void ShowAboutChromeDialog() OVERRIDE;
265 virtual void ShowUpdateChromeDialog() OVERRIDE; 265 virtual void ShowUpdateChromeDialog() OVERRIDE;
266 virtual void ShowTaskManager() OVERRIDE; 266 virtual void ShowTaskManager() OVERRIDE;
267 virtual void ShowBackgroundPages() OVERRIDE; 267 virtual void ShowBackgroundPages() OVERRIDE;
268 virtual void ShowBookmarkBubble(const GURL& url, 268 virtual void ShowBookmarkBubble(const GURL& url,
269 bool already_bookmarked) OVERRIDE; 269 bool already_bookmarked) OVERRIDE;
270 virtual void ShowChromeToMobileBubble() OVERRIDE; 270 virtual void ShowChromeToMobileBubble() OVERRIDE;
271 #if defined(ENABLE_ONE_CLICK_SIGNIN) 271 #if defined(ENABLE_ONE_CLICK_SIGNIN)
272 virtual void ShowOneClickSigninBubble( 272 virtual void ShowOneClickSigninBubble(
273 const base::Closure& learn_more_callback, 273 const base::Callback<void(bool)>& start_sync_callback) OVERRIDE;
274 const base::Closure& advanced_callback) OVERRIDE;
275 #endif 274 #endif
276 // TODO(beng): Not an override, move somewhere else. 275 // TODO(beng): Not an override, move somewhere else.
277 void SetDownloadShelfVisible(bool visible); 276 void SetDownloadShelfVisible(bool visible);
278 virtual bool IsDownloadShelfVisible() const OVERRIDE; 277 virtual bool IsDownloadShelfVisible() const OVERRIDE;
279 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 278 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
280 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 279 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
281 virtual void UserChangedTheme() OVERRIDE; 280 virtual void UserChangedTheme() OVERRIDE;
282 virtual int GetExtraRenderViewHeight() const OVERRIDE; 281 virtual int GetExtraRenderViewHeight() const OVERRIDE;
283 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 282 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
284 virtual void ShowPageInfo(Profile* profile, 283 virtual void ShowPageInfo(Profile* profile,
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 bool force_location_bar_focus_; 661 bool force_location_bar_focus_;
663 662
664 PendingFullscreenRequest fullscreen_request_; 663 PendingFullscreenRequest fullscreen_request_;
665 664
666 gfx::ScopedSysColorChangeListener color_change_listener_; 665 gfx::ScopedSysColorChangeListener color_change_listener_;
667 666
668 DISALLOW_COPY_AND_ASSIGN(BrowserView); 667 DISALLOW_COPY_AND_ASSIGN(BrowserView);
669 }; 668 };
670 669
671 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 670 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698