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

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

Issue 8118012: WebUI Edit Search Engine Dialog (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: changed webui class names as per precedent Created 9 years, 2 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
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
11 11
12 class Browser; 12 class Browser;
13 class Extension; 13 class Extension;
14 class HtmlDialogUIDelegate; 14 class HtmlDialogUIDelegate;
15 class Profile; 15 class Profile;
16 class SkBitmap; 16 class SkBitmap;
17 class TabContents; 17 class TabContents;
18 class TemplateURL;
18 19
19 namespace browser { 20 namespace browser {
20 21
21 #if defined(IPC_MESSAGE_LOG_ENABLED) 22 #if defined(IPC_MESSAGE_LOG_ENABLED)
22 23
23 // The dialog is a singleton. If the dialog is already opened, it won't do 24 // The dialog is a singleton. If the dialog is already opened, it won't do
24 // anything, so you can just blindly call this function all you want. 25 // anything, so you can just blindly call this function all you want.
25 // This is Called from chrome/browser/browser_about_handler.cc 26 // This is Called from chrome/browser/browser_about_handler.cc
26 void ShowAboutIPCDialog(); 27 void ShowAboutIPCDialog();
27 28
(...skipping 20 matching lines...) Expand all
48 // Shows or hide the hung renderer dialog for the given TabContents. 49 // 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 50 // 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. 51 // and it needs to keep track of which tabs are currently hung.
51 void ShowHungRendererDialog(TabContents* contents); 52 void ShowHungRendererDialog(TabContents* contents);
52 void HideHungRendererDialog(TabContents* contents); 53 void HideHungRendererDialog(TabContents* contents);
53 54
54 // Native implementations of hung renderer dialogs. 55 // Native implementations of hung renderer dialogs.
55 void ShowNativeHungRendererDialog(TabContents* contents); 56 void ShowNativeHungRendererDialog(TabContents* contents);
56 void HideNativeHungRendererDialog(TabContents* contents); 57 void HideNativeHungRendererDialog(TabContents* contents);
57 58
58 } // namespace browser 59 // Show the edit search engine dialog.
60 void ConfirmAddSearchProvider(const TemplateURL* template_url,
61 Profile* profile);
62
63 } // namespace browser
59 64
60 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 65 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698