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

Side by Side Diff: chrome/browser/ui/panels/panel_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: Add enum 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_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 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual void ToggleBookmarkBar() OVERRIDE; 90 virtual void ToggleBookmarkBar() OVERRIDE;
91 virtual void ShowAboutChromeDialog() OVERRIDE; 91 virtual void ShowAboutChromeDialog() OVERRIDE;
92 virtual void ShowUpdateChromeDialog() OVERRIDE; 92 virtual void ShowUpdateChromeDialog() OVERRIDE;
93 virtual void ShowTaskManager() OVERRIDE; 93 virtual void ShowTaskManager() OVERRIDE;
94 virtual void ShowBackgroundPages() OVERRIDE; 94 virtual void ShowBackgroundPages() OVERRIDE;
95 virtual void ShowBookmarkBubble( 95 virtual void ShowBookmarkBubble(
96 const GURL& url, bool already_bookmarked) OVERRIDE; 96 const GURL& url, bool already_bookmarked) OVERRIDE;
97 virtual void ShowChromeToMobileBubble() OVERRIDE; 97 virtual void ShowChromeToMobileBubble() OVERRIDE;
98 #if defined(ENABLE_ONE_CLICK_SIGNIN) 98 #if defined(ENABLE_ONE_CLICK_SIGNIN)
99 virtual void ShowOneClickSigninBubble( 99 virtual void ShowOneClickSigninBubble(
100 const base::Closure& learn_more_callback, 100 const StartSyncCallback& start_sync_callback) OVERRIDE;
101 const base::Closure& advanced_callback) OVERRIDE;
102 #endif 101 #endif
103 virtual bool IsDownloadShelfVisible() const OVERRIDE; 102 virtual bool IsDownloadShelfVisible() const OVERRIDE;
104 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 103 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
105 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 104 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
106 virtual void UserChangedTheme() OVERRIDE; 105 virtual void UserChangedTheme() OVERRIDE;
107 virtual int GetExtraRenderViewHeight() const OVERRIDE; 106 virtual int GetExtraRenderViewHeight() const OVERRIDE;
108 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 107 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
109 virtual void ShowPageInfo(Profile* profile, 108 virtual void ShowPageInfo(Profile* profile,
110 const GURL& url, 109 const GURL& url,
111 const content::SSLStatus& ssl, 110 const content::SSLStatus& ssl,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 Panel* panel_; // Weak pointer. Owns us. 165 Panel* panel_; // Weak pointer. Owns us.
167 166
168 // Platform specifc implementation for panels. It'd be one of 167 // Platform specifc implementation for panels. It'd be one of
169 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa. 168 // PanelBrowserWindowGtk/PanelBrowserView/PanelBrowserWindowCocoa.
170 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel). 169 NativePanel* native_panel_; // Weak, owns us (through ownership of Panel).
171 170
172 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow); 171 DISALLOW_COPY_AND_ASSIGN(PanelBrowserWindow);
173 }; 172 };
174 173
175 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_ 174 #endif // CHROME_BROWSER_UI_PANELS_PANEL_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698