| OLD | NEW |
| 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_GTK_BOOKMARKS_BOOKMARK_EDITOR_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_EDITOR_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_EDITOR_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_EDITOR_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> |
| 10 |
| 9 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 10 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 11 #include "base/string16.h" | 13 #include "base/string16.h" |
| 12 #include "chrome/browser/bookmarks/bookmark_editor.h" | 14 #include "chrome/browser/bookmarks/bookmark_editor.h" |
| 13 #include "chrome/browser/bookmarks/bookmark_model_observer.h" | 15 #include "chrome/browser/bookmarks/bookmark_model_observer.h" |
| 14 #include "ui/base/glib/glib_integers.h" | 16 #include "ui/base/glib/glib_integers.h" |
| 15 #include "ui/base/gtk/gtk_signal.h" | 17 #include "ui/base/gtk/gtk_signal.h" |
| 16 | 18 |
| 17 class GURL; | 19 class GURL; |
| 18 | 20 |
| 19 typedef union _GdkEvent GdkEvent; | 21 typedef union _GdkEvent GdkEvent; |
| 20 typedef struct _GdkEventButton GdkEventButton; | 22 typedef struct _GdkEventButton GdkEventButton; |
| 21 typedef struct _GtkTreeIter GtkTreeIter; | 23 typedef struct _GtkTreeIter GtkTreeIter; |
| 22 typedef struct _GtkTreeSelection GtkTreeSelection; | 24 typedef struct _GtkTreeSelection GtkTreeSelection; |
| 23 typedef struct _GtkTreeStore GtkTreeStore; | 25 typedef struct _GtkTreeStore GtkTreeStore; |
| 24 typedef struct _GtkWidget GtkWidget; | 26 typedef struct _GtkWidget GtkWidget; |
| 25 | 27 |
| 26 namespace gfx { | |
| 27 class Point; | |
| 28 } // namespace gfx | |
| 29 | |
| 30 // GTK version of the bookmark editor dialog. | 28 // GTK version of the bookmark editor dialog. |
| 31 class BookmarkEditorGtk : public BookmarkEditor, | 29 class BookmarkEditorGtk : public BookmarkEditor, |
| 32 public BookmarkModelObserver { | 30 public BookmarkModelObserver { |
| 33 public: | 31 public: |
| 34 BookmarkEditorGtk(GtkWindow* window, | 32 BookmarkEditorGtk(GtkWindow* window, |
| 35 Profile* profile, | 33 Profile* profile, |
| 36 const BookmarkNode* parent, | 34 const BookmarkNode* parent, |
| 37 const EditDetails& details, | 35 const EditDetails& details, |
| 38 BookmarkEditor::Configuration configuration); | 36 BookmarkEditor::Configuration configuration); |
| 39 | 37 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 // List of deleted bookmark folders. | 157 // List of deleted bookmark folders. |
| 160 std::vector<int64> deletes_; | 158 std::vector<int64> deletes_; |
| 161 | 159 |
| 162 // The context menu controller. | 160 // The context menu controller. |
| 163 scoped_ptr<ContextMenuController> menu_controller_; | 161 scoped_ptr<ContextMenuController> menu_controller_; |
| 164 | 162 |
| 165 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorGtk); | 163 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorGtk); |
| 166 }; | 164 }; |
| 167 | 165 |
| 168 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_EDITOR_GTK_H_ | 166 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_EDITOR_GTK_H_ |
| OLD | NEW |