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

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

Issue 10540100: TabContentsWrapper -> TabContents, part 48. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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) 2012 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_VIEWS_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 // This file contains functions for running a variety of browser dialogs and 13 // This file contains functions for running a variety of browser dialogs and
14 // popups. The dialogs here are the ones that the caller does not need to 14 // popups. The dialogs here are the ones that the caller does not need to
15 // access the class of the popup. It allows us to break dependencies by 15 // access the class of the popup. It allows us to break dependencies by
16 // allowing the callers to not depend on the classes implementing the dialogs. 16 // allowing the callers to not depend on the classes implementing the dialogs.
17 // TODO: Make as many of these methods as possible cross platform, and move them 17 // TODO: Make as many of these methods as possible cross platform, and move them
18 // into chrome/browser/ui/browser_dialogs.h. 18 // into chrome/browser/ui/browser_dialogs.h.
19 19
20 class BrowserView; 20 class BrowserView;
21 class EditSearchEngineControllerDelegate; 21 class EditSearchEngineControllerDelegate;
22 class FindBar; 22 class FindBar;
23 class GURL; 23 class GURL;
24 class Profile; 24 class Profile;
25 class TabContents; 25 class TabContents;
26 typedef TabContents TabContentsWrapper;
27 class TemplateURL; 26 class TemplateURL;
28 27
29 namespace content { 28 namespace content {
30 class PageNavigator; 29 class PageNavigator;
31 struct SSLStatus; 30 struct SSLStatus;
32 } 31 }
33 32
34 namespace extensions { 33 namespace extensions {
35 class Extension; 34 class Extension;
36 } 35 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // new search engine with the data the user supplies. |delegate| is an object 84 // new search engine with the data the user supplies. |delegate| is an object
86 // to be notified when the user is done editing, or NULL. If NULL, the dialog 85 // to be notified when the user is done editing, or NULL. If NULL, the dialog
87 // will update the model with the user's edits directly. 86 // will update the model with the user's edits directly.
88 void EditSearchEngine(gfx::NativeWindow parent, 87 void EditSearchEngine(gfx::NativeWindow parent,
89 TemplateURL* template_url, 88 TemplateURL* template_url,
90 EditSearchEngineControllerDelegate* delegate, 89 EditSearchEngineControllerDelegate* delegate,
91 Profile* profile); 90 Profile* profile);
92 91
93 // Shows the create web app shortcut dialog box. 92 // Shows the create web app shortcut dialog box.
94 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window, 93 void ShowCreateWebAppShortcutsDialog(gfx::NativeWindow parent_window,
95 TabContentsWrapper* tab_contents); 94 TabContents* tab_contents);
96 95
97 // Shows the create chrome app shortcut dialog box. 96 // Shows the create chrome app shortcut dialog box.
98 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, 97 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
99 Profile* profile, 98 Profile* profile,
100 const extensions::Extension* app); 99 const extensions::Extension* app);
101 100
102 } // namespace browser 101 } // namespace browser
103 102
104 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 103 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_actions_container.cc ('k') | chrome/browser/ui/views/collected_cookies_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698