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

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

Issue 8368016: Rebase BookmarkBubble on the new views bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add Textfield::[set_]select_all_on_focus, use GetInitiallyFocusedView. Created 9 years, 1 month 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 11 matching lines...) Expand all
22 class Extension; 22 class Extension;
23 class FindBar; 23 class FindBar;
24 class GURL; 24 class GURL;
25 class BubbleDelegate; 25 class BubbleDelegate;
26 class Profile; 26 class Profile;
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 Point;
33 class Size; 33 class Size;
34 } 34 }
35 35
36 namespace views { 36 namespace views {
37 class Widget; 37 class Widget;
38 } 38 }
39 39
40 namespace browser { 40 namespace browser {
41 41
42 // Shows or hides the global bookmark bubble for the star button. 42 // Shows or hides the global bookmark bubble for the star button.
43 void ShowBookmarkBubbleView(views::Widget* parent, 43 void ShowBookmarkBubbleView(views::Widget* parent,
44 const gfx::Rect& bounds, 44 const gfx::Point& anchor,
45 BubbleDelegate* delegate,
46 Profile* profile, 45 Profile* profile,
47 const GURL& url, 46 const GURL& url,
48 bool newly_bookmarked); 47 bool newly_bookmarked);
49 void HideBookmarkBubbleView(); 48 void HideBookmarkBubbleView();
50 bool IsBookmarkBubbleViewShowing(); 49 bool IsBookmarkBubbleViewShowing();
51 50
52 // Shows the about dialog. See AboutChromeView. 51 // Shows the about dialog. See AboutChromeView.
53 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent, 52 views::Widget* ShowAboutChromeView(gfx::NativeWindow parent,
54 Profile* profile); 53 Profile* profile);
55 54
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 TabContentsWrapper* tab_contents); 90 TabContentsWrapper* tab_contents);
92 91
93 // Shows the create chrome app shortcut dialog box. 92 // Shows the create chrome app shortcut dialog box.
94 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window, 93 void ShowCreateChromeAppShortcutsDialog(gfx::NativeWindow parent_window,
95 Profile* profile, 94 Profile* profile,
96 const Extension* app); 95 const Extension* app);
97 96
98 } // namespace browser 97 } // namespace browser
99 98
100 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_ 99 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_DIALOGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698