chromium/ui/views/examples/tree_view_example.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/examples/tree_view_example.h"

#include <utility>

#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/menu/menu_model_adapter.h"
#include "ui/views/controls/menu/menu_runner.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/tree/tree_view.h"
#include "ui/views/controls/tree/tree_view_drawing_provider.h"
#include "ui/views/examples/grit/views_examples_resources.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/layout/flex_layout_types.h"
#include "ui/views/view_class_properties.h"

GetStringUTF16;
GetStringUTF8;

namespace {

class ExampleTreeViewDrawingProvider : public views::TreeViewDrawingProvider {};

}  // namespace

namespace views::examples {

TreeViewExample::TreeViewExample()
    :{}

TreeViewExample::~TreeViewExample() {}

void TreeViewExample::CreateExampleView(View* container) {}

void TreeViewExample::AddNewNode() {}

void TreeViewExample::RemoveSelectedNode() {}

void TreeViewExample::SetSelectedNodeTitle() {}

bool TreeViewExample::IsCommandIdEnabled(int command_id) {}

void TreeViewExample::OnTreeViewSelectionChanged(TreeView* tree_view) {}

bool TreeViewExample::CanEdit(TreeView* tree_view, ui::TreeModelNode* node) {}

void TreeViewExample::ShowContextMenuForViewImpl(
    View* source,
    const gfx::Point& point,
    ui::MenuSourceType source_type) {}

bool TreeViewExample::IsCommandIdChecked(int command_id) const {}

bool TreeViewExample::IsCommandIdEnabled(int command_id) const {}

void TreeViewExample::ExecuteCommand(int command_id, int event_flags) {}

}  // namespace views::examples