| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 namespace browser { | 43 namespace browser { |
| 44 | 44 |
| 45 // Shows or hides the bookmark bubble anchored to the supplied view. | 45 // Shows or hides the bookmark bubble anchored to the supplied view. |
| 46 void ShowBookmarkBubbleView(views::View* anchor_view, | 46 void ShowBookmarkBubbleView(views::View* anchor_view, |
| 47 Profile* profile, | 47 Profile* profile, |
| 48 const GURL& url, | 48 const GURL& url, |
| 49 bool newly_bookmarked); | 49 bool newly_bookmarked); |
| 50 void HideBookmarkBubbleView(); | 50 void HideBookmarkBubbleView(); |
| 51 bool IsBookmarkBubbleViewShowing(); | 51 bool IsBookmarkBubbleViewShowing(); |
| 52 | 52 |
| 53 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view. |
| 54 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile); |
| 55 void HideChromeToMobileBubbleView(); |
| 56 bool IsChromeToMobileBubbleViewShowing(); |
| 57 |
| 53 // Shows the page info bubble anchored to the supplied view. | 58 // Shows the page info bubble anchored to the supplied view. |
| 54 void ShowPageInfoBubble(views::View* anchor_view, | 59 void ShowPageInfoBubble(views::View* anchor_view, |
| 55 Profile* profile, | 60 Profile* profile, |
| 56 const GURL& url, | 61 const GURL& url, |
| 57 const content::SSLStatus& ssl, | 62 const content::SSLStatus& ssl, |
| 58 bool show_history); | 63 bool show_history); |
| 59 | 64 |
| 60 // Shows the about dialog. See AboutChromeView. | 65 // Shows the about dialog. See AboutChromeView. |
| 61 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, | 66 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, |
| 62 Profile* profile); | 67 Profile* profile); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 90 TabContentsWrapper* tab_contents); | 95 TabContentsWrapper* tab_contents); |
| 91 | 96 |
| 92 // Shows the create chrome app shortcut dialog box. | 97 // Shows the create chrome app shortcut dialog box. |
| 93 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 98 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 94 Profile* profile, | 99 Profile* profile, |
| 95 const Extension* app); | 100 const Extension* app); |
| 96 | 101 |
| 97 } // namespace browser | 102 } // namespace browser |
| 98 | 103 |
| 99 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 104 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |