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

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

Issue 7919028: Revert 101581 - Add --use-more-webui runtime flag to toggle WebUI replacements for native dialogs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 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_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 Browser* browser, 44 Browser* browser,
45 const SkBitmap& icon, 45 const SkBitmap& icon,
46 Profile* profile); 46 Profile* profile);
47 47
48 // Shows or hide the hung renderer dialog for the given TabContents. 48 // Shows or hide the hung renderer dialog for the given TabContents.
49 // We need to pass the TabContents to the dialog, because multiple tabs can hang 49 // We need to pass the TabContents to the dialog, because multiple tabs can hang
50 // and it needs to keep track of which tabs are currently hung. 50 // and it needs to keep track of which tabs are currently hung.
51 void ShowHungRendererDialog(TabContents* contents); 51 void ShowHungRendererDialog(TabContents* contents);
52 void HideHungRendererDialog(TabContents* contents); 52 void HideHungRendererDialog(TabContents* contents);
53 53
54 // Native implementations of hung renderer dialogs.
55 void ShowNativeHungRendererDialog(TabContents* contents);
56 void HideNativeHungRendererDialog(TabContents* contents);
57
58 } // namespace browser 54 } // namespace browser
59 55
60 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 56 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698