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

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

Issue 2794763002: New Sad Tab strings. (Closed)
Patch Set: msvc compile fix Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/sad_tab.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SAD_TAB_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H_
7 7
8 #include "chrome/browser/ui/sad_tab.h" 8 #include "chrome/browser/ui/sad_tab.h"
9 #include "ui/views/controls/button/button.h" 9 #include "ui/views/controls/button/button.h"
10 #include "ui/views/controls/link_listener.h" 10 #include "ui/views/controls/link_listener.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // Overridden from views::ButtonListener: 46 // Overridden from views::ButtonListener:
47 void ButtonPressed(views::Button* source, const ui::Event& event) override; 47 void ButtonPressed(views::Button* source, const ui::Event& event) override;
48 48
49 protected: 49 protected:
50 // Overridden from views::View: 50 // Overridden from views::View:
51 void OnPaint(gfx::Canvas* canvas) override; 51 void OnPaint(gfx::Canvas* canvas) override;
52 52
53 private: 53 private:
54 bool painted_ = false; 54 bool painted_ = false;
55 views::Label* message_; 55 views::Label* message_;
56 std::vector<views::Label*> bullet_labels_;
56 views::Link* help_link_; 57 views::Link* help_link_;
57 views::LabelButton* action_button_; 58 views::LabelButton* action_button_;
58 views::Label* title_; 59 views::Label* title_;
60
61 DISALLOW_COPY_AND_ASSIGN(SadTabView);
59 }; 62 };
60 63
61 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__ 64 #endif // CHROME_BROWSER_UI_VIEWS_SAD_TAB_VIEW_H__
OLDNEW
« no previous file with comments | « chrome/browser/ui/sad_tab.cc ('k') | chrome/browser/ui/views/sad_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698