| OLD | NEW |
| 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_GTK_BOOKMARKS_BOOKMARK_SUB_MENU_MODEL_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_SUB_MENU_MODEL_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_SUB_MENU_MODEL_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_SUB_MENU_MODEL_GTK_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 10 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
| 11 #include "ui/base/models/simple_menu_model.h" | 11 #include "ui/base/models/simple_menu_model.h" |
| 12 #include "webkit/glue/window_open_disposition.h" | 12 #include "ui/base/window_open_disposition.h" |
| 13 | 13 |
| 14 class Browser; | 14 class Browser; |
| 15 class BookmarkModel; | 15 class BookmarkModel; |
| 16 class BookmarkNode; | 16 class BookmarkNode; |
| 17 class MenuGtk; // See below for why we need this. | 17 class MenuGtk; // See below for why we need this. |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class PageNavigator; | 20 class PageNavigator; |
| 21 } | 21 } |
| 22 | 22 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 | 120 |
| 121 // We keep track of whether the bookmark submenu is currently showing. If it's | 121 // We keep track of whether the bookmark submenu is currently showing. If it's |
| 122 // not showing, then we don't need to forcibly close the entire wrench menu | 122 // not showing, then we don't need to forcibly close the entire wrench menu |
| 123 // when the bookmark model loads. | 123 // when the bookmark model loads. |
| 124 bool menu_showing_; | 124 bool menu_showing_; |
| 125 | 125 |
| 126 DISALLOW_COPY_AND_ASSIGN(BookmarkSubMenuModel); | 126 DISALLOW_COPY_AND_ASSIGN(BookmarkSubMenuModel); |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_SUB_MENU_MODEL_GTK_H_ | 129 #endif // CHROME_BROWSER_UI_GTK_BOOKMARKS_BOOKMARK_SUB_MENU_MODEL_GTK_H_ |
| OLD | NEW |