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