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

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: Minor comment fixes 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 virtual void ToggleBookmarkBar() OVERRIDE; 266 virtual void ToggleBookmarkBar() OVERRIDE;
267 virtual void ShowAboutChromeDialog() OVERRIDE; 267 virtual void ShowAboutChromeDialog() OVERRIDE;
268 virtual void ShowUpdateChromeDialog() OVERRIDE; 268 virtual void ShowUpdateChromeDialog() OVERRIDE;
269 virtual void ShowTaskManager() OVERRIDE; 269 virtual void ShowTaskManager() OVERRIDE;
270 virtual void ShowBackgroundPages() OVERRIDE; 270 virtual void ShowBackgroundPages() OVERRIDE;
271 virtual void ShowBookmarkBubble(const GURL& url, 271 virtual void ShowBookmarkBubble(const GURL& url,
272 bool already_bookmarked) OVERRIDE; 272 bool already_bookmarked) OVERRIDE;
273 virtual void ShowChromeToMobileBubble() OVERRIDE; 273 virtual void ShowChromeToMobileBubble() OVERRIDE;
274 #if defined(ENABLE_ONE_CLICK_SIGNIN) 274 #if defined(ENABLE_ONE_CLICK_SIGNIN)
275 virtual void ShowOneClickSigninBubble( 275 virtual void ShowOneClickSigninBubble(
276 const base::Closure& learn_more_callback, 276 const base::Callback<void(bool)>& start_sync_callback) OVERRIDE;
277 const base::Closure& advanced_callback) OVERRIDE;
278 #endif 277 #endif
279 // TODO(beng): Not an override, move somewhere else. 278 // TODO(beng): Not an override, move somewhere else.
280 void SetDownloadShelfVisible(bool visible); 279 void SetDownloadShelfVisible(bool visible);
281 virtual bool IsDownloadShelfVisible() const OVERRIDE; 280 virtual bool IsDownloadShelfVisible() const OVERRIDE;
282 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 281 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
283 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 282 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
284 virtual void UserChangedTheme() OVERRIDE; 283 virtual void UserChangedTheme() OVERRIDE;
285 virtual int GetExtraRenderViewHeight() const OVERRIDE; 284 virtual int GetExtraRenderViewHeight() const OVERRIDE;
286 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 285 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
287 virtual void ShowPageInfo(Profile* profile, 286 virtual void ShowPageInfo(Profile* profile,
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 bool force_location_bar_focus_; 669 bool force_location_bar_focus_;
671 670
672 PendingFullscreenRequest fullscreen_request_; 671 PendingFullscreenRequest fullscreen_request_;
673 672
674 gfx::ScopedSysColorChangeListener color_change_listener_; 673 gfx::ScopedSysColorChangeListener color_change_listener_;
675 674
676 DISALLOW_COPY_AND_ASSIGN(BrowserView); 675 DISALLOW_COPY_AND_ASSIGN(BrowserView);
677 }; 676 };
678 677
679 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_ 678 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698