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

Side by Side Diff: chrome/browser/ui/chrome_sad_tab_client.cc

Issue 543663002: Componentize sad_tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix url_constants.cc Created 6 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/chrome_sad_tab_client.h"
6
7 #include "chrome/browser/browser_shutdown.h"
8 #include "chrome/browser/ui/browser_finder.h"
9 #include "chrome/browser/ui/chrome_pages.h"
10
11 ChromeSadTabClient::ChromeSadTabClient() {
12 }
13
14 ChromeSadTabClient::~ChromeSadTabClient() {
15 }
16
17 bool ChromeSadTabClient::IsInBrowserShutdown() {
18 return browser_shutdown::GetShutdownType() != browser_shutdown::NOT_VALID;
19 }
20
21 void ChromeSadTabClient::ShowFeedbackPage(
22 content::WebContents* web_contents,
23 const std::string& description_template,
24 const std::string& category_tag) {
25 chrome::ShowFeedbackPage(
26 chrome::FindBrowserWithWebContents(web_contents),
27 description_template,
28 category_tag);
29 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/chrome_sad_tab_client.h ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698