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

Side by Side Diff: chrome/browser/ui/browser_window.h

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: ready to review Created 9 years, 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 #include "chrome/common/content_settings_types.h" 10 #include "chrome/common/content_settings_types.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 // Show the bubble that indicates to the user that a theme is being installed. 255 // Show the bubble that indicates to the user that a theme is being installed.
256 virtual void ShowThemeInstallBubble() = 0; 256 virtual void ShowThemeInstallBubble() = 0;
257 257
258 // Shows the confirmation dialog box warning that the browser is closing with 258 // Shows the confirmation dialog box warning that the browser is closing with
259 // in-progress downloads. 259 // in-progress downloads.
260 // This method should call Browser::InProgressDownloadResponse once the user 260 // This method should call Browser::InProgressDownloadResponse once the user
261 // has confirmed. 261 // has confirmed.
262 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; 262 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0;
263 263
264 // Shows a dialog box with HTML content, e.g. for Gears. |parent_window| is 264 // Shows a dialog box with HTML content. |parent_window| is the window the
265 // the window the dialog should be opened modal to and is a native window 265 // dialog should be opened modal to and is a native window handle.
266 // handle.
267 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 266 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
268 gfx::NativeWindow parent_window) = 0; 267 gfx::NativeWindow parent_window) = 0;
269 268
270 // BrowserThemeProvider calls this when a user has changed his or her theme, 269 // BrowserThemeProvider calls this when a user has changed his or her theme,
271 // indicating that it's time to redraw everything. 270 // indicating that it's time to redraw everything.
272 virtual void UserChangedTheme() = 0; 271 virtual void UserChangedTheme() = 0;
273 272
274 // Get extra vertical height that the render view should add to its requests 273 // Get extra vertical height that the render view should add to its requests
275 // to webkit. This can help prevent sending extraneous layout/repaint requests 274 // to webkit. This can help prevent sending extraneous layout/repaint requests
276 // when the delegate is in the process of resizing the tab contents view (e.g. 275 // when the delegate is in the process of resizing the tab contents view (e.g.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 386
388 // Returns the ToolbarView. 387 // Returns the ToolbarView.
389 virtual ToolbarView* GetToolbarView() const = 0; 388 virtual ToolbarView* GetToolbarView() const = 0;
390 #endif 389 #endif
391 390
392 protected: 391 protected:
393 virtual ~BrowserWindowTesting() {} 392 virtual ~BrowserWindowTesting() {}
394 }; 393 };
395 394
396 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 395 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698