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

Side by Side Diff: chrome/browser/ui/views/collected_cookies_views.h

Issue 2375843003: views: add Harmony dialog width support (Closed)
Patch Set: Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 public: 44 public:
45 // Use BrowserWindow::ShowCollectedCookiesDialog to show. 45 // Use BrowserWindow::ShowCollectedCookiesDialog to show.
46 explicit CollectedCookiesViews(content::WebContents* web_contents); 46 explicit CollectedCookiesViews(content::WebContents* web_contents);
47 47
48 // views::DialogDelegate: 48 // views::DialogDelegate:
49 base::string16 GetWindowTitle() const override; 49 base::string16 GetWindowTitle() const override;
50 int GetDialogButtons() const override; 50 int GetDialogButtons() const override;
51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override; 51 base::string16 GetDialogButtonLabel(ui::DialogButton button) const override;
52 bool Cancel() override; 52 bool Cancel() override;
53 ui::ModalType GetModalType() const override; 53 ui::ModalType GetModalType() const override;
54 DialogWidth GetDefaultDialogWidth() const override;
54 55
55 // views::ButtonListener: 56 // views::ButtonListener:
56 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 57 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
57 58
58 // views::TabbedPaneListener: 59 // views::TabbedPaneListener:
59 void TabSelectedAt(int index) override; 60 void TabSelectedAt(int index) override;
60 61
61 // views::TreeViewController: 62 // views::TreeViewController:
62 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override; 63 void OnTreeViewSelectionChanged(views::TreeView* tree_view) override;
63 64
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 CookieInfoView* cookie_info_view_; 115 CookieInfoView* cookie_info_view_;
115 116
116 InfobarView* infobar_; 117 InfobarView* infobar_;
117 118
118 bool status_changed_; 119 bool status_changed_;
119 120
120 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews); 121 DISALLOW_COPY_AND_ASSIGN(CollectedCookiesViews);
121 }; 122 };
122 123
123 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_ 124 #endif // CHROME_BROWSER_UI_VIEWS_COLLECTED_COOKIES_VIEWS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/collected_cookies_views.cc » ('j') | ui/views/window/dialog_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698