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

Side by Side Diff: chrome/browser/ui/panels/panel.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_PANELS_PANEL_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 10
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void ToggleBookmarkBar() OVERRIDE; 141 virtual void ToggleBookmarkBar() OVERRIDE;
142 virtual void ShowAboutChromeDialog() OVERRIDE; 142 virtual void ShowAboutChromeDialog() OVERRIDE;
143 virtual void ShowUpdateChromeDialog() OVERRIDE; 143 virtual void ShowUpdateChromeDialog() OVERRIDE;
144 virtual void ShowTaskManager() OVERRIDE; 144 virtual void ShowTaskManager() OVERRIDE;
145 virtual void ShowBackgroundPages() OVERRIDE; 145 virtual void ShowBackgroundPages() OVERRIDE;
146 virtual void ShowBookmarkBubble( 146 virtual void ShowBookmarkBubble(
147 const GURL& url, bool already_bookmarked) OVERRIDE; 147 const GURL& url, bool already_bookmarked) OVERRIDE;
148 virtual void ShowChromeToMobileBubble() OVERRIDE; 148 virtual void ShowChromeToMobileBubble() OVERRIDE;
149 #if defined(ENABLE_ONE_CLICK_SIGNIN) 149 #if defined(ENABLE_ONE_CLICK_SIGNIN)
150 virtual void ShowOneClickSigninBubble( 150 virtual void ShowOneClickSigninBubble(
151 const base::Closure& learn_more_callback, 151 const base::Callback<void(bool)>& start_sync_callback) OVERRIDE;
152 const base::Closure& advanced_callback) OVERRIDE;
153 #endif 152 #endif
154 virtual bool IsDownloadShelfVisible() const OVERRIDE; 153 virtual bool IsDownloadShelfVisible() const OVERRIDE;
155 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 154 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
156 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 155 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
157 virtual void UserChangedTheme() OVERRIDE; 156 virtual void UserChangedTheme() OVERRIDE;
158 virtual int GetExtraRenderViewHeight() const OVERRIDE; 157 virtual int GetExtraRenderViewHeight() const OVERRIDE;
159 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 158 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
160 virtual void ShowPageInfo(Profile* profile, 159 virtual void ShowPageInfo(Profile* profile,
161 const GURL& url, 160 const GURL& url,
162 const content::SSLStatus& ssl, 161 const content::SSLStatus& ssl,
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 AttentionMode attention_mode_; 386 AttentionMode attention_mode_;
388 387
389 ExpansionState expansion_state_; 388 ExpansionState expansion_state_;
390 389
391 content::NotificationRegistrar registrar_; 390 content::NotificationRegistrar registrar_;
392 391
393 DISALLOW_COPY_AND_ASSIGN(Panel); 392 DISALLOW_COPY_AND_ASSIGN(Panel);
394 }; 393 };
395 394
396 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_ 395 #endif // CHROME_BROWSER_UI_PANELS_PANEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698