| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 void HideBookmarkBubbleView(); | 53 void HideBookmarkBubbleView(); |
| 54 bool IsBookmarkBubbleViewShowing(); | 54 bool IsBookmarkBubbleViewShowing(); |
| 55 | 55 |
| 56 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view. | 56 // Shows or hides the Chrome To Mobile bubble anchored to the supplied view. |
| 57 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile); | 57 void ShowChromeToMobileBubbleView(views::View* anchor_view, Profile* profile); |
| 58 void HideChromeToMobileBubbleView(); | 58 void HideChromeToMobileBubbleView(); |
| 59 bool IsChromeToMobileBubbleViewShowing(); | 59 bool IsChromeToMobileBubbleViewShowing(); |
| 60 | 60 |
| 61 // Shows the page info bubble anchored to the supplied view. | 61 // Shows the page info bubble anchored to the supplied view. |
| 62 void ShowPageInfoBubble(views::View* anchor_view, | 62 void ShowPageInfoBubble(views::View* anchor_view, |
| 63 Profile* profile, | 63 TabContents* tab_contents, |
| 64 const GURL& url, | 64 const GURL& url, |
| 65 const content::SSLStatus& ssl, | 65 const content::SSLStatus& ssl, |
| 66 bool show_history, | 66 bool show_history, |
| 67 content::PageNavigator* navigator); | 67 content::PageNavigator* navigator); |
| 68 | 68 |
| 69 // Shows the about dialog. See AboutChromeView. | 69 // Shows the about dialog. See AboutChromeView. |
| 70 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, | 70 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, |
| 71 Profile* profile); | 71 Profile* profile); |
| 72 | 72 |
| 73 // Creates and returns a find bar for the given browser window. See FindBarWin. | 73 // Creates and returns a find bar for the given browser window. See FindBarWin. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 94 TabContents* tab_contents); | 94 TabContents* tab_contents); |
| 95 | 95 |
| 96 // Shows the create chrome app shortcut dialog box. | 96 // Shows the create chrome app shortcut dialog box. |
| 97 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, | 97 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, |
| 98 Profile* profile, | 98 Profile* profile, |
| 99 const extensions::Extension* app); | 99 const extensions::Extension* app); |
| 100 | 100 |
| 101 } // namespace browser | 101 } // namespace browser |
| 102 | 102 |
| 103 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ | 103 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ |
| OLD | NEW |