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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 virtual void ToggleBookmarkBar() OVERRIDE; 122 virtual void ToggleBookmarkBar() OVERRIDE;
123 virtual void ShowAboutChromeDialog() OVERRIDE; 123 virtual void ShowAboutChromeDialog() OVERRIDE;
124 virtual void ShowUpdateChromeDialog() OVERRIDE; 124 virtual void ShowUpdateChromeDialog() OVERRIDE;
125 virtual void ShowTaskManager() OVERRIDE; 125 virtual void ShowTaskManager() OVERRIDE;
126 virtual void ShowBackgroundPages() OVERRIDE; 126 virtual void ShowBackgroundPages() OVERRIDE;
127 virtual void ShowBookmarkBubble(const GURL& url, 127 virtual void ShowBookmarkBubble(const GURL& url,
128 bool already_bookmarked) OVERRIDE; 128 bool already_bookmarked) OVERRIDE;
129 virtual void ShowChromeToMobileBubble() OVERRIDE; 129 virtual void ShowChromeToMobileBubble() OVERRIDE;
130 #if defined(ENABLE_ONE_CLICK_SIGNIN) 130 #if defined(ENABLE_ONE_CLICK_SIGNIN)
131 virtual void ShowOneClickSigninBubble( 131 virtual void ShowOneClickSigninBubble(
132 const base::Closure& learn_more_callback, 132 const StartSyncCallback& start_sync_callback) OVERRIDE;
133 const base::Closure& advanced_callback) OVERRIDE;
134 #endif 133 #endif
135 virtual bool IsDownloadShelfVisible() const OVERRIDE; 134 virtual bool IsDownloadShelfVisible() const OVERRIDE;
136 virtual DownloadShelf* GetDownloadShelf() OVERRIDE; 135 virtual DownloadShelf* GetDownloadShelf() OVERRIDE;
137 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE; 136 virtual void ConfirmBrowserCloseWithPendingDownloads() OVERRIDE;
138 virtual void UserChangedTheme() OVERRIDE; 137 virtual void UserChangedTheme() OVERRIDE;
139 virtual int GetExtraRenderViewHeight() const OVERRIDE; 138 virtual int GetExtraRenderViewHeight() const OVERRIDE;
140 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; 139 virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE;
141 virtual void ShowPageInfo(Profile* profile, 140 virtual void ShowPageInfo(Profile* profile,
142 const GURL& url, 141 const GURL& url,
143 const content::SSLStatus& ssl, 142 const content::SSLStatus& ssl,
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 566 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
568 567
569 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 568 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
570 569
571 content::NotificationRegistrar registrar_; 570 content::NotificationRegistrar registrar_;
572 571
573 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 572 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
574 }; 573 };
575 574
576 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 575 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698