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

Unified Diff: views/controls/tree/tree_view.h

Issue 3176026: FBTF: Remove unneeded headers from base/ (part 7) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/controls/textfield/textfield.h ('k') | views/controls/tree/tree_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/tree/tree_view.h
===================================================================
--- views/controls/tree/tree_view.h (revision 57726)
+++ views/controls/tree/tree_view.h (working copy)
@@ -14,7 +14,6 @@
#include "app/tree_model.h"
#include "base/basictypes.h"
#include "base/keyboard_codes.h"
-#include "base/logging.h"
#include "views/controls/native_control.h"
namespace views {
@@ -243,17 +242,10 @@
void RecursivelyDelete(NodeDetails* node);
// Returns the NodeDetails by node from the model.
- NodeDetails* GetNodeDetails(TreeModelNode* node) {
- DCHECK(node &&
- node_to_details_map_.find(node) != node_to_details_map_.end());
- return node_to_details_map_[node];
- }
+ NodeDetails* GetNodeDetails(TreeModelNode* node);
// Returns the NodeDetails by identifier (lparam of the HTREEITEM).
- NodeDetails* GetNodeDetailsByID(int id) {
- DCHECK(id_to_details_map_.find(id) != id_to_details_map_.end());
- return id_to_details_map_[id];
- }
+ NodeDetails* GetNodeDetailsByID(int id);
// Returns the NodeDetails by HTREEITEM.
NodeDetails* GetNodeDetailsByTreeItem(HTREEITEM tree_item);
« no previous file with comments | « views/controls/textfield/textfield.h ('k') | views/controls/tree/tree_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698