| Index: chrome/browser/dom_ui/options/cookies_view_handler.h
|
| diff --git a/chrome/browser/dom_ui/options/cookies_view_handler.h b/chrome/browser/dom_ui/options/cookies_view_handler.h
|
| index 12e52beaa5ba60c5cc5b8c4896d311429c7da065..73810a3cdbdae66adc4605b12aace7eabbe1d029 100644
|
| --- a/chrome/browser/dom_ui/options/cookies_view_handler.h
|
| +++ b/chrome/browser/dom_ui/options/cookies_view_handler.h
|
| @@ -6,61 +6,7 @@
|
| #define CHROME_BROWSER_DOM_UI_OPTIONS_COOKIES_VIEW_HANDLER_H_
|
| #pragma once
|
|
|
| -#include "base/scoped_ptr.h"
|
| -#include "chrome/browser/cookies_tree_model.h"
|
| -#include "chrome/browser/dom_ui/options/options_ui.h"
|
| -
|
| -class CookiesViewHandler : public OptionsPageUIHandler,
|
| - public CookiesTreeModel::Observer {
|
| - public:
|
| - CookiesViewHandler();
|
| - virtual ~CookiesViewHandler();
|
| -
|
| - // OptionsUIHandler implementation.
|
| - virtual void GetLocalizedValues(DictionaryValue* localized_strings);
|
| - virtual void RegisterMessages();
|
| -
|
| - // ui::TreeModel::Observer implementation.
|
| - virtual void TreeNodesAdded(ui::TreeModel* model,
|
| - ui::TreeModelNode* parent,
|
| - int start,
|
| - int count);
|
| - virtual void TreeNodesRemoved(ui::TreeModel* model,
|
| - ui::TreeModelNode* parent,
|
| - int start,
|
| - int count);
|
| - virtual void TreeNodeChanged(ui::TreeModel* model, ui::TreeModelNode* node) {}
|
| - virtual void TreeModelBeginBatch(CookiesTreeModel* model);
|
| - virtual void TreeModelEndBatch(CookiesTreeModel* model);
|
| -
|
| - private:
|
| - // Updates search filter for cookies tree model.
|
| - void UpdateSearchResults(const ListValue* args);
|
| -
|
| - // Remove all sites data.
|
| - void RemoveAll(const ListValue* args);
|
| -
|
| - // Remove selected sites data.
|
| - void Remove(const ListValue* args);
|
| -
|
| - // Get the tree node using the tree path info in |args| and call
|
| - // SendChildren to pass back children nodes data to WebUI.
|
| - void LoadChildren(const ListValue* args);
|
| -
|
| - // Gets tree node from given path. Return NULL if path is not valid.
|
| - CookieTreeNode* GetTreeNodeFromPath(const std::string& path);
|
| -
|
| - // Get children nodes data and pass it to 'CookiesView.loadChildren' to
|
| - // update the WebUI.
|
| - void SendChildren(CookieTreeNode* parent);
|
| -
|
| - // The Cookies Tree model
|
| - scoped_ptr<CookiesTreeModel> cookies_tree_model_;
|
| -
|
| - // Flag to indicate whether there is a batch update in progress.
|
| - bool batch_update_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(CookiesViewHandler);
|
| -};
|
| +#include "chrome/browser/webui/options/cookies_view_handler.h"
|
| +// TODO(tfarina): remove this file once all includes have been updated.
|
|
|
| #endif // CHROME_BROWSER_DOM_UI_OPTIONS_COOKIES_VIEW_HANDLER_H_
|
|
|