Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(119)

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_editor_view.h

Issue 869453002: Define class names for views class in c/b/ui/views (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: addressed comments Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void Show(gfx::NativeWindow parent); 115 void Show(gfx::NativeWindow parent);
116 116
117 // views::ContextMenuController: 117 // views::ContextMenuController:
118 void ShowContextMenuForView(views::View* source, 118 void ShowContextMenuForView(views::View* source,
119 const gfx::Point& point, 119 const gfx::Point& point,
120 ui::MenuSourceType source_type) override; 120 ui::MenuSourceType source_type) override;
121 121
122 private: 122 private:
123 friend class BookmarkEditorViewTest; 123 friend class BookmarkEditorViewTest;
124 124
125 // views::DialogDelegateView:
126 const char* GetClassName() const override;
127
125 // Creates the necessary sub-views, configures them, adds them to the layout, 128 // Creates the necessary sub-views, configures them, adds them to the layout,
126 // and requests the entries to display from the database. 129 // and requests the entries to display from the database.
127 void Init(); 130 void Init();
Peter Kasting 2015/01/24 02:20:59 Nit: Since there are now overrides above and below
oshima 2015/01/26 19:48:18 Done.
128 131
129 // bookmarks::BookmarkModelObserver: 132 // bookmarks::BookmarkModelObserver:
130 // Any structural change results in resetting the tree model. 133 // Any structural change results in resetting the tree model.
131 void BookmarkModelLoaded(bookmarks::BookmarkModel* model, 134 void BookmarkModelLoaded(bookmarks::BookmarkModel* model,
132 bool ids_reassigned) override {} 135 bool ids_reassigned) override {}
133 void BookmarkNodeMoved(bookmarks::BookmarkModel* model, 136 void BookmarkNodeMoved(bookmarks::BookmarkModel* model,
134 const BookmarkNode* old_parent, 137 const BookmarkNode* old_parent,
135 int old_index, 138 int old_index,
136 const BookmarkNode* new_parent, 139 const BookmarkNode* new_parent,
137 int new_index) override; 140 int new_index) override;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 // Is the tree shown? 265 // Is the tree shown?
263 bool show_tree_; 266 bool show_tree_;
264 267
265 // List of deleted bookmark folders. 268 // List of deleted bookmark folders.
266 std::vector<int64> deletes_; 269 std::vector<int64> deletes_;
267 270
268 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView); 271 DISALLOW_COPY_AND_ASSIGN(BookmarkEditorView);
269 }; 272 };
270 273
271 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_ 274 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_EDITOR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698