| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; | 81 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; |
| 82 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; | 82 virtual bool IsDialogButtonEnabled(ui::DialogButton button) const OVERRIDE; |
| 83 virtual views::View* CreateExtraView() OVERRIDE; | 83 virtual views::View* CreateExtraView() OVERRIDE; |
| 84 virtual ui::ModalType GetModalType() const OVERRIDE; | 84 virtual ui::ModalType GetModalType() const OVERRIDE; |
| 85 virtual bool CanResize() const OVERRIDE; | 85 virtual bool CanResize() const OVERRIDE; |
| 86 virtual string16 GetWindowTitle() const OVERRIDE; | 86 virtual string16 GetWindowTitle() const OVERRIDE; |
| 87 virtual bool Accept() OVERRIDE; | 87 virtual bool Accept() OVERRIDE; |
| 88 | 88 |
| 89 // views::View: | 89 // views::View: |
| 90 virtual gfx::Size GetPreferredSize() OVERRIDE; | 90 virtual gfx::Size GetPreferredSize() OVERRIDE; |
| 91 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; |
| 91 | 92 |
| 92 // views::TreeViewController: | 93 // views::TreeViewController: |
| 93 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view) OVERRIDE; | 94 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view) OVERRIDE; |
| 94 virtual bool CanEdit(views::TreeView* tree_view, | 95 virtual bool CanEdit(views::TreeView* tree_view, |
| 95 ui::TreeModelNode* node) OVERRIDE; | 96 ui::TreeModelNode* node) OVERRIDE; |
| 96 | 97 |
| 97 // views::TextfieldController: | 98 // views::TextfieldController: |
| 98 virtual void ContentsChanged(views::Textfield* sender, | 99 virtual void ContentsChanged(views::Textfield* sender, |
| 99 const string16& new_contents) OVERRIDE; | 100 const string16& new_contents) OVERRIDE; |
| 100 virtual bool HandleKeyEvent(views::Textfield* sender, | 101 virtual bool HandleKeyEvent(views::Textfield* sender, |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 // Is the tree shown? | 261 // Is the tree shown? |
| 261 bool show_tree_; | 262 bool show_tree_; |
| 262 | 263 |
| 263 // List of deleted bookmark folders. | 264 // List of deleted bookmark folders. |
| 264 std::vector<int64> deletes_; | 265 std::vector<int64> deletes_; |
| 265 | 266 |
| 266 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); | 267 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); |
| 267 }; | 268 }; |
| 268 | 269 |
| 269 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ | 270 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ |
| OLD | NEW |