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

Side by Side Diff: chrome/browser/gtk/bookmark_editor_gtk.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/browser/gtk/bookmark_editor_gtk.h" 5 #include "chrome/browser/gtk/bookmark_editor_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/menus/simple_menu_model.h" 10 #include "app/menus/simple_menu_model.h"
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/string_util.h" 13 #include "base/string_util.h"
14 #include "base/utf_string_conversions.h" 14 #include "base/utf_string_conversions.h"
15 #include "chrome/browser/bookmarks/bookmark_model.h" 15 #include "chrome/browser/bookmarks/bookmark_model.h"
16 #include "chrome/browser/bookmarks/bookmark_utils.h" 16 #include "chrome/browser/bookmarks/bookmark_utils.h"
17 #include "chrome/browser/gtk/bookmark_tree_model.h" 17 #include "chrome/browser/gtk/bookmark_tree_model.h"
18 #include "chrome/browser/gtk/bookmark_utils_gtk.h" 18 #include "chrome/browser/gtk/bookmark_utils_gtk.h"
19 #include "chrome/browser/gtk/gtk_theme_provider.h" 19 #include "chrome/browser/gtk/gtk_theme_provider.h"
20 #include "chrome/browser/gtk/gtk_util.h" 20 #include "chrome/browser/gtk/gtk_util.h"
21 #include "chrome/browser/history/history.h" 21 #include "chrome/browser/history/history.h"
22 #include "chrome/browser/net/url_fixer_upper.h" 22 #include "chrome/browser/net/url_fixer_upper.h"
23 #include "chrome/browser/profile.h" 23 #include "chrome/browser/profiles/profile.h"
24 #include "gfx/gtk_util.h" 24 #include "gfx/gtk_util.h"
25 #include "gfx/point.h" 25 #include "gfx/point.h"
26 #include "googleurl/src/gurl.h" 26 #include "googleurl/src/gurl.h"
27 #include "grit/chromium_strings.h" 27 #include "grit/chromium_strings.h"
28 #include "grit/generated_resources.h" 28 #include "grit/generated_resources.h"
29 #include "grit/locale_settings.h" 29 #include "grit/locale_settings.h"
30 30
31 #if defined(TOOLKIT_VIEWS) 31 #if defined(TOOLKIT_VIEWS)
32 #include "views/controls/menu/menu_2.h" 32 #include "views/controls/menu/menu_2.h"
33 #else 33 #else
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 GTK_TREE_MODEL(tree_store_), &new_item_iter); 580 GTK_TREE_MODEL(tree_store_), &new_item_iter);
581 gtk_tree_view_expand_to_path(GTK_TREE_VIEW(tree_view_), path); 581 gtk_tree_view_expand_to_path(GTK_TREE_VIEW(tree_view_), path);
582 582
583 // Make the folder name editable. 583 // Make the folder name editable.
584 gtk_tree_view_set_cursor(GTK_TREE_VIEW(tree_view_), path, 584 gtk_tree_view_set_cursor(GTK_TREE_VIEW(tree_view_), path,
585 gtk_tree_view_get_column(GTK_TREE_VIEW(tree_view_), 0), 585 gtk_tree_view_get_column(GTK_TREE_VIEW(tree_view_), 0),
586 TRUE); 586 TRUE);
587 587
588 gtk_tree_path_free(path); 588 gtk_tree_path_free(path);
589 } 589 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/bookmark_bubble_gtk.cc ('k') | chrome/browser/gtk/bookmark_editor_gtk_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698