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

Side by Side Diff: components/sad_tab/sad_tab_client.h

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
« no previous file with comments | « components/sad_tab/sad_tab.cc ('k') | components/sad_tab/sad_tab_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_SAD_TAB_SAD_TAB_CLIENT_H_
6 #define COMPONENTS_SAD_TAB_SAD_TAB_CLIENT_H_
7
8 #include <string>
9
10 #include "base/memory/scoped_ptr.h"
11 #include "components/sad_tab/sad_tab_types.h"
12
13 namespace content {
14 class WebContents;
15 }
16
17 namespace sad_tab {
18
19 class SadTab;
20
21 class SadTabClient {
22 public:
23 virtual ~SadTabClient() {}
24
25 // Returns true if the browser is in shutdown.
26 virtual bool IsInBrowserShutdown() = 0;
27
28 // Shows the feedback page.
29 virtual void ShowFeedbackPage(content::WebContents* web_contents,
30 const std::string& description_template,
31 const std::string& category_tag) = 0;
32 };
33
34 } // namespace sad_tab
35
36 #endif // COMPONENTS_SAD_TAB_SAD_TAB_CLIENT_H_
OLDNEW
« no previous file with comments | « components/sad_tab/sad_tab.cc ('k') | components/sad_tab/sad_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698