OLD | NEW |
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_COLLECTED_COOKIES_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "components/content_settings/core/common/content_settings.h" | 10 #include "components/content_settings/core/common/content_settings.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void ButtonPressed(views::Button* sender, const ui::Event& event) override; | 55 void ButtonPressed(views::Button* sender, const ui::Event& event) override; |
56 | 56 |
57 // views::TabbedPaneListener: | 57 // views::TabbedPaneListener: |
58 void TabSelectedAt(int index) override; | 58 void TabSelectedAt(int index) override; |
59 | 59 |
60 // views::TreeViewController: | 60 // views::TreeViewController: |
61 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; | 61 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; |
62 | 62 |
63 // views::View: | 63 // views::View: |
64 gfx::Size GetMinimumSize() const override; | 64 gfx::Size GetMinimumSize() const override; |
65 gfx::Size GetPreferredSize() const override; | |
66 void ViewHierarchyChanged( | 65 void ViewHierarchyChanged( |
67 const ViewHierarchyChangedDetails& details) override; | 66 const ViewHierarchyChangedDetails& details) override; |
68 | 67 |
69 private: | 68 private: |
70 friend class CollectedCookiesViewsTest; | 69 friend class CollectedCookiesViewsTest; |
71 | 70 |
72 ~CollectedCookiesViews() override; | 71 ~CollectedCookiesViews() override; |
73 | 72 |
74 void Init(); | 73 void Init(); |
75 | 74 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 CookieInfoView* cookie_info_view_; | 113 CookieInfoView* cookie_info_view_; |
115 | 114 |
116 InfobarView* infobar_; | 115 InfobarView* infobar_; |
117 | 116 |
118 bool status_changed_; | 117 bool status_changed_; |
119 | 118 |
120 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); | 119 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); |
121 }; | 120 }; |
122 | 121 |
123 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ | 122 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ |
OLD | NEW |