OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_OPTIONS_COOKIES_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |
6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) {} | 64 virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) {} |
65 // End TreeModelObserver implementation. | 65 // End TreeModelObserver implementation. |
66 | 66 |
67 // views::ButtonListener implementation. | 67 // views::ButtonListener implementation. |
68 virtual void ButtonPressed(views::Button* sender, const views::Event& event); | 68 virtual void ButtonPressed(views::Button* sender, const views::Event& event); |
69 | 69 |
70 // views::TreeViewController implementation. | 70 // views::TreeViewController implementation. |
71 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view); | 71 virtual void OnTreeViewSelectionChanged(views::TreeView* tree_view); |
72 | 72 |
73 // views::TreeViewController implementation. | 73 // views::TreeViewController implementation. |
74 virtual void OnTreeViewKeyDown(base::KeyboardCode keycode); | 74 virtual void OnTreeViewKeyDown(app::KeyboardCode keycode); |
75 | 75 |
76 // views::Textfield::Controller implementation. | 76 // views::Textfield::Controller implementation. |
77 virtual void ContentsChanged(views::Textfield* sender, | 77 virtual void ContentsChanged(views::Textfield* sender, |
78 const std::wstring& new_contents); | 78 const std::wstring& new_contents); |
79 virtual bool HandleKeystroke(views::Textfield* sender, | 79 virtual bool HandleKeystroke(views::Textfield* sender, |
80 const views::Textfield::Keystroke& key); | 80 const views::Textfield::Keystroke& key); |
81 | 81 |
82 // views::WindowDelegate implementation. | 82 // views::WindowDelegate implementation. |
83 virtual int GetDialogButtons() const { | 83 virtual int GetDialogButtons() const { |
84 return MessageBoxFlags::DIALOGBUTTON_CANCEL; | 84 return MessageBoxFlags::DIALOGBUTTON_CANCEL; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 ScopedRunnableMethodFactory<CookiesView> search_update_factory_; | 148 ScopedRunnableMethodFactory<CookiesView> search_update_factory_; |
149 | 149 |
150 // Our containing window. If this is non-NULL there is a visible Cookies | 150 // Our containing window. If this is non-NULL there is a visible Cookies |
151 // window somewhere. | 151 // window somewhere. |
152 static views::Window* instance_; | 152 static views::Window* instance_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(CookiesView); | 154 DISALLOW_COPY_AND_ASSIGN(CookiesView); |
155 }; | 155 }; |
156 | 156 |
157 #endif // CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ | 157 #endif // CHROME_BROWSER_VIEWS_OPTIONS_COOKIES_VIEW_H_ |
OLD | NEW |