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

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: windows fixes 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/common/content_settings_types.h" 9 #include "chrome/common/content_settings_types.h"
10 #include "content/browser/tab_contents/navigation_entry.h" 10 #include "content/browser/tab_contents/navigation_entry.h"
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // Show the bubble that indicates to the user that a theme is being installed. 243 // Show the bubble that indicates to the user that a theme is being installed.
244 virtual void ShowThemeInstallBubble() = 0; 244 virtual void ShowThemeInstallBubble() = 0;
245 245
246 // Shows the confirmation dialog box warning that the browser is closing with 246 // Shows the confirmation dialog box warning that the browser is closing with
247 // in-progress downloads. 247 // in-progress downloads.
248 // This method should call Browser::InProgressDownloadResponse once the user 248 // This method should call Browser::InProgressDownloadResponse once the user
249 // has confirmed. 249 // has confirmed.
250 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0; 250 virtual void ConfirmBrowserCloseWithPendingDownloads() = 0;
251 251
252 // Shows a dialog box with HTML content, e.g. for Gears. |parent_window| is 252 // Shows a dialog box with HTML content. |parent_window| is the window the
253 // the window the dialog should be opened modal to and is a native window 253 // dialog should be opened modal to and is a native window handle.
254 // handle.
255 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate, 254 virtual void ShowHTMLDialog(HtmlDialogUIDelegate* delegate,
256 gfx::NativeWindow parent_window) = 0; 255 gfx::NativeWindow parent_window) = 0;
257 256
258 // BrowserThemeProvider calls this when a user has changed his or her theme, 257 // BrowserThemeProvider calls this when a user has changed his or her theme,
259 // indicating that it's time to redraw everything. 258 // indicating that it's time to redraw everything.
260 virtual void UserChangedTheme() = 0; 259 virtual void UserChangedTheme() = 0;
261 260
262 // Get extra vertical height that the render view should add to its requests 261 // Get extra vertical height that the render view should add to its requests
263 // to webkit. This can help prevent sending extraneous layout/repaint requests 262 // to webkit. This can help prevent sending extraneous layout/repaint requests
264 // when the delegate is in the process of resizing the tab contents view (e.g. 263 // 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
375 374
376 // Returns the ToolbarView. 375 // Returns the ToolbarView.
377 virtual ToolbarView* GetToolbarView() const = 0; 376 virtual ToolbarView* GetToolbarView() const = 0;
378 #endif 377 #endif
379 378
380 protected: 379 protected:
381 virtual ~BrowserWindowTesting() {} 380 virtual ~BrowserWindowTesting() {}
382 }; 381 };
383 382
384 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 383 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target_win.cc ('k') | chrome/browser/ui/cocoa/page_info_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698