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

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

Issue 1309583002: [Mac] Enable MacViews bookmark editor behind --enable-mac-views-dialogs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@modal
Patch Set: Address comments Created 5 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_BROWSER_DIALOGS_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 6 #define CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
9 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
11 12
12 class Browser; 13 class Browser;
13 class GURL; 14 class GURL;
14 class LoginHandler; 15 class LoginHandler;
15 class Profile; 16 class Profile;
16 class SkBitmap; 17 class SkBitmap;
17 18
18 namespace content { 19 namespace content {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const content::SSLStatus& ssl); 96 const content::SSLStatus& ssl);
96 97
97 #endif // OS_MACOSX 98 #endif // OS_MACOSX
98 99
99 #if defined(TOOLKIT_VIEWS) 100 #if defined(TOOLKIT_VIEWS)
100 101
101 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog). 102 // Creates a toolkit-views based LoginHandler (e.g. HTTP-Auth dialog).
102 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info, 103 LoginHandler* CreateLoginHandlerViews(net::AuthChallengeInfo* auth_info,
103 net::URLRequest* request); 104 net::URLRequest* request);
104 105
106 // Shows the toolkit-views based BookmarkEditor.
107 void ShowBookmarkEditorViews(gfx::NativeWindow parent_window,
108 Profile* profile,
109 const BookmarkEditor::EditDetails& details,
110 BookmarkEditor::Configuration configuration);
111
105 #endif // TOOLKIT_VIEWS 112 #endif // TOOLKIT_VIEWS
106 113
107 } // namespace chrome 114 } // namespace chrome
108 115
109 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_ 116 #endif // CHROME_BROWSER_UI_BROWSER_DIALOGS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/bookmarks/bookmark_editor_base_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698