| 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_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 // views::TreeViewController: | 97 // views::TreeViewController: |
| 98 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view) OVERRIDE; | 98 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view) OVERRIDE; |
| 99 virtual bool CanEdit(views::TreeView* tree_view, | 99 virtual bool CanEdit(views::TreeView* tree_view, |
| 100 ui::TreeModelNode* node) OVERRIDE; | 100 ui::TreeModelNode* node) OVERRIDE; |
| 101 | 101 |
| 102 // views::TextfieldController: | 102 // views::TextfieldController: |
| 103 virtual void ContentsChanged(views::Textfield* sender, | 103 virtual void ContentsChanged(views::Textfield* sender, |
| 104 const string16& new_contents) OVERRIDE; | 104 const string16& new_contents) OVERRIDE; |
| 105 virtual bool HandleKeyEvent(views::Textfield* sender, | 105 virtual bool HandleKeyEvent(views::Textfield* sender, |
| 106 const views::KeyEvent& key_event) OVERRIDE; | 106 const ui::KeyEvent& key_event) OVERRIDE; |
| 107 | 107 |
| 108 // views::ButtonListener: | 108 // views::ButtonListener: |
| 109 virtual void ButtonPressed(views::Button* sender, | 109 virtual void ButtonPressed(views::Button* sender, |
| 110 const views::Event& event) OVERRIDE; | 110 const views::Event& event) OVERRIDE; |
| 111 | 111 |
| 112 // ui::SimpleMenuModel::Delegate: | 112 // ui::SimpleMenuModel::Delegate: |
| 113 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; | 113 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; |
| 114 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; | 114 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; |
| 115 virtual bool GetAcceleratorForCommandId( | 115 virtual bool GetAcceleratorForCommandId( |
| 116 int command_id, | 116 int command_id, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Is the tree shown? | 266 // Is the tree shown? |
| 267 bool show_tree_; | 267 bool show_tree_; |
| 268 | 268 |
| 269 // List of deleted bookmark folders. | 269 // List of deleted bookmark folders. |
| 270 std::vector<int64> deletes_; | 270 std::vector<int64> deletes_; |
| 271 | 271 |
| 272 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); | 272 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); |
| 273 }; | 273 }; |
| 274 | 274 |
| 275 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ | 275 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ |
| OLD | NEW |