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

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

Issue 10556034: views: Get rid of DoShowAboutChromeDialog() function. (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
(...skipping 22 matching lines...) Expand all
33 namespace extensions { 33 namespace extensions {
34 class Extension; 34 class Extension;
35 } 35 }
36 36
37 namespace gfx { 37 namespace gfx {
38 class Size; 38 class Size;
39 } 39 }
40 40
41 namespace views { 41 namespace views {
42 class View; 42 class View;
43 class Widget;
44 } 43 }
45 44
46 namespace browser { 45 namespace browser {
47 46
48 // Shows or hides the bookmark bubble anchored to the supplied view. 47 // Shows or hides the bookmark bubble anchored to the supplied view.
49 void ShowBookmarkBubbleView(views::View* anchor_view, 48 void ShowBookmarkBubbleView(views::View* anchor_view,
50 Profile* profile, 49 Profile* profile,
51 const GURL& url, 50 const GURL& url,
52 bool newly_bookmarked); 51 bool newly_bookmarked);
53 void HideBookmarkBubbleView(); 52 void HideBookmarkBubbleView();
54 bool IsBookmarkBubbleViewShowing(); 53 bool IsBookmarkBubbleViewShowing();
55 54
56 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view. 55 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view.
57 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile); 56 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile);
58 void HideChromeToMobileBubbleView(); 57 void HideChromeToMobileBubbleView();
59 bool IsChromeToMobileBubbleViewShowing(); 58 bool IsChromeToMobileBubbleViewShowing();
60 59
61 // Shows the page info bubble anchored to the supplied view. 60 // Shows the page info bubble anchored to the supplied view.
62 void ShowPageInfoBubble(views::View* anchor_view, 61 void ShowPageInfoBubble(views::View* anchor_view,
63 Profile* profile, 62 Profile* profile,
64 const GURL& url, 63 const GURL& url,
65 const content::SSLStatus& ssl, 64 const content::SSLStatus& ssl,
66 bool show_history, 65 bool show_history,
67 content::PageNavigator* navigator); 66 content::PageNavigator* navigator);
68 67
69 // Shows the about dialog. See AboutChromeView. 68 // Shows the about dialog. See AboutChromeView.
70 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, 69 void ShowAboutChromeView(gfx::NativeWindow parent, Profile* profile);
71 Profile* profile);
72 70
73 // Creates and returns a find bar for the given browser window. See FindBarWin. 71 // Creates and returns a find bar for the given browser window. See FindBarWin.
74 FindBar* CreateFindBar(BrowserView* browser_view); 72 FindBar* CreateFindBar(BrowserView* browser_view);
75 73
76 // Shows the Task Manager. 74 // Shows the Task Manager.
77 void ShowTaskManager(); 75 void ShowTaskManager();
78 76
79 // Shows the Task Manager, highlighting the background pages. 77 // Shows the Task Manager, highlighting the background pages.
80 void ShowBackgroundPages(); 78 void ShowBackgroundPages();
81 79
(...skipping 12 matching lines...) Expand all
94 TabContents* tab_contents); 92 TabContents* tab_contents);
95 93
96 // Shows the create chrome app shortcut dialog box. 94 // Shows the create chrome app shortcut dialog box.
97 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, 95 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
98 Profile* profile, 96 Profile* profile,
99 const extensions::Extension* app); 97 const extensions::Extension* app);
100 98
101 } // namespace browser 99 } // namespace browser
102 100
103 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 101 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698