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

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

Issue 9265026: Implement restart on Idle for Kiosk Mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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) 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_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 "chrome/browser/ui/dialog_style.h" 9 #include "chrome/browser/ui/dialog_style.h"
10 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Shows or hide the hung renderer dialog for the given WebContents. 57 // Shows or hide the hung renderer dialog for the given WebContents.
58 // We need to pass the WebContents to the dialog, because multiple tabs can hang 58 // We need to pass the WebContents to the dialog, because multiple tabs can hang
59 // and it needs to keep track of which tabs are currently hung. 59 // and it needs to keep track of which tabs are currently hung.
60 void ShowHungRendererDialog(content::WebContents* contents); 60 void ShowHungRendererDialog(content::WebContents* contents);
61 void HideHungRendererDialog(content::WebContents* contents); 61 void HideHungRendererDialog(content::WebContents* contents);
62 62
63 // Native implementations of hung renderer dialogs. 63 // Native implementations of hung renderer dialogs.
64 void ShowNativeHungRendererDialog(content::WebContents* contents); 64 void ShowNativeHungRendererDialog(content::WebContents* contents);
65 void HideNativeHungRendererDialog(content::WebContents* contents); 65 void HideNativeHungRendererDialog(content::WebContents* contents);
66 66
67 // Shows or close the logout dialog for Kiosk Mode
xiyuan 2012/01/20 18:23:44 nit: close -> closes and add a "." at the end.
rkc 2012/01/26 03:37:23 Done.
68 void ShowKioskModeLogoutDialog();
69 void CloseKioskModeLogoutDialog();
xiyuan 2012/01/20 18:23:44 I saw implementations of those functions for chrom
rkc 2012/01/26 03:37:23 Being a very specific ChromeOS dialog, this really
70
67 // Show the edit search engine dialog. 71 // Show the edit search engine dialog.
68 void ConfirmAddSearchProvider(const TemplateURL* template_url, 72 void ConfirmAddSearchProvider(const TemplateURL* template_url,
69 Profile* profile); 73 Profile* profile);
70 74
71 // Shows a tab-modal dialog box. 75 // Shows a tab-modal dialog box.
72 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate, 76 void ShowTabModalConfirmDialog(TabModalConfirmDialogDelegate* delegate,
73 TabContentsWrapper* wrapper); 77 TabContentsWrapper* wrapper);
74 78
75 } // namespace browser 79 } // namespace browser
76 80
77 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 81 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698