OLD | NEW |
---|---|
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
46 namespace browser { | 46 namespace browser { |
47 | 47 |
48 // Shows or hides the bookmark bubble anchored to the supplied view. | 48 // Shows or hides the bookmark bubble anchored to the supplied view. |
49 void ShowBookmarkBubbleView(views::View* anchor_view, | 49 void ShowBookmarkBubbleView(views::View* anchor_view, |
50 Profile* profile, | 50 Profile* profile, |
51 const GURL& url, | 51 const GURL& url, |
52 bool newly_bookmarked); | 52 bool newly_bookmarked); |
53 void HideBookmarkBubbleView(); | 53 void HideBookmarkBubbleView(); |
54 bool IsBookmarkBubbleViewShowing(); | 54 bool IsBookmarkBubbleViewShowing(); |
55 | 55 |
56 // Shows or hides the zoom bubble anchored to the supplied view. | |
57 void ShowZoomBubbleView(views::View* anchor_view, | |
58 int zoomPercent, | |
Ben Goodger (Google)
2012/06/04 15:16:49
zoom_percent
Kyle Horimoto
2012/06/05 05:03:59
Done.
| |
59 bool autoclose); | |
Ben Goodger (Google)
2012/06/04 15:16:49
document autoclose. also, call it auto_close
Kyle Horimoto
2012/06/05 05:03:59
Done.
| |
60 void HideZoomBubbleView(); | |
61 bool IsZoomBubbleViewShowing(); | |
62 | |
56 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view. | 63 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view. |
57 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile); | 64 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile); |
58 void HideChromeToMobileBubbleView(); | 65 void HideChromeToMobileBubbleView(); |
59 bool IsChromeToMobileBubbleViewShowing(); | 66 bool IsChromeToMobileBubbleViewShowing(); |
60 | 67 |
61 // Shows the page info bubble anchored to the supplied view. | 68 // Shows the page info bubble anchored to the supplied view. |
62 void ShowPageInfoBubble(views::View* anchor_view, | 69 void ShowPageInfoBubble(views::View* anchor_view, |
63 Profile* profile, | 70 Profile* profile, |
64 const GURL& url, | 71 const GURL& url, |
65 const content::SSLStatus& ssl, | 72 const content::SSLStatus& ssl, |
(...skipping 28 matching lines...) Expand all Loading... | |
94 TabContentsWrapper* tab_contents); | 101 TabContentsWrapper* tab_contents); |
95 | 102 |
96 // Shows the create chrome app shortcut dialog box. | 103 // Shows the create chrome app shortcut dialog box. |
97 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 104 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
98 Profile* profile, | 105 Profile* profile, |
99 const extensions::Extension* app); | 106 const extensions::Extension* app); |
100 | 107 |
101 } // namespace browser | 108 } // namespace browser |
102 | 109 |
103 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 110 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
OLD | NEW |