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

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

Issue 7054052: Move more from Window onto Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 16 matching lines...) Expand all
27 class TabContents; 27 class TabContents;
28 class TabContentsWrapper; 28 class TabContentsWrapper;
29 class TemplateURL; 29 class TemplateURL;
30 30
31 namespace gfx { 31 namespace gfx {
32 class Rect; 32 class Rect;
33 class Size; 33 class Size;
34 } 34 }
35 35
36 namespace views { 36 namespace views {
37 class Widget;
37 class Window; 38 class Window;
38 } 39 }
39 40
40 namespace browser { 41 namespace browser {
41 42
42 // Shows or hides the global bookmark bubble for the star button. 43 // Shows or hides the global bookmark bubble for the star button.
43 void ShowBookmarkBubbleView(views::Window* parent, 44 void ShowBookmarkBubbleView(views::Widget* parent,
44 const gfx::Rect& bounds, 45 const gfx::Rect& bounds,
45 BubbleDelegate* delegate, 46 BubbleDelegate* delegate,
46 Profile* profile, 47 Profile* profile,
47 const GURL& url, 48 const GURL& url,
48 bool newly_bookmarked); 49 bool newly_bookmarked);
49 void HideBookmarkBubbleView(); 50 void HideBookmarkBubbleView();
50 bool IsBookmarkBubbleViewShowing(); 51 bool IsBookmarkBubbleViewShowing();
51 52
52 // Shows the about dialog. See AboutChromeView. 53 // Shows the about dialog. See AboutChromeView.
53 views::Window* ShowAboutChromeView(gfx::NativeWindow parent, 54 views::Window* ShowAboutChromeView(gfx::NativeWindow parent,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 TabContentsWrapper* tab_contents); 92 TabContentsWrapper* tab_contents);
92 93
93 // Shows the create chrome app shortcut dialog box. 94 // Shows the create chrome app shortcut dialog box.
94 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, 95 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
95 Profile* profile, 96 Profile* profile,
96 const Extension* app); 97 const Extension* app);
97 98
98 } // namespace browser 99 } // namespace browser
99 100
100 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 101 #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/first_run_search_engine_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698