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

Side by Side Diff: chrome/browser/bookmarks/bookmark_editor.h

Issue 115831: Converts a bunch things from NativeWindow to NativeView to make it... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_BOOKMARKS_BOOKMARK_EDITOR_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_
7 7
8 #include "base/gfx/native_widget_types.h" 8 #include "base/gfx/native_widget_types.h"
9 9
10 class BookmarkNode; 10 class BookmarkNode;
(...skipping 15 matching lines...) Expand all
26 enum Configuration { 26 enum Configuration {
27 SHOW_TREE, 27 SHOW_TREE,
28 NO_TREE 28 NO_TREE
29 }; 29 };
30 30
31 // Shows the platform specific BookmarkEditor subclass editing |node|. If 31 // Shows the platform specific BookmarkEditor subclass editing |node|. If
32 // |node| is NULL a new entry is created initially parented to |parent|. If 32 // |node| is NULL a new entry is created initially parented to |parent|. If
33 // |show_tree| is false the tree is not shown. BookmarkEditor takes 33 // |show_tree| is false the tree is not shown. BookmarkEditor takes
34 // ownership of |handler| and deletes it when done. |handler| may be 34 // ownership of |handler| and deletes it when done. |handler| may be
35 // null. See description of Handler for details. 35 // null. See description of Handler for details.
36 static void Show(gfx::NativeWindow parent_window, 36 static void Show(gfx::NativeView parent_window,
37 Profile* profile, 37 Profile* profile,
38 BookmarkNode* parent, 38 BookmarkNode* parent,
39 BookmarkNode* node, 39 BookmarkNode* node,
40 Configuration configuration, 40 Configuration configuration,
41 Handler* handler); 41 Handler* handler);
42 }; 42 };
43 43
44 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_ 44 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EDITOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_context_menu.cc ('k') | chrome/browser/bookmarks/bookmark_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698