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

Side by Side Diff: chrome/browser/ui/translate/translate_bubble_factory.h

Issue 93603006: Move Translate-related files to components/translate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 years, 11 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_TRANSLATE_TRANSLATE_BUBBLE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_FACTORY_H_
6 #define CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_FACTORY_H_ 6 #define CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_FACTORY_H_
7 7
8 #include "chrome/browser/ui/translate/translate_bubble_model.h" 8 #include "chrome/browser/ui/translate/translate_bubble_model.h"
9 #include "chrome/common/translate/translate_errors.h" 9 #include "components/translate/core/common/translate_errors.h"
10 10
11 class BrowserWindow; 11 class BrowserWindow;
12 12
13 namespace content { 13 namespace content {
14 class WebContents; 14 class WebContents;
15 } 15 }
16 16
17 // Factory to show the Translate bubble. 17 // Factory to show the Translate bubble.
18 class TranslateBubbleFactory { 18 class TranslateBubbleFactory {
19 public: 19 public:
(...skipping 16 matching lines...) Expand all
36 BrowserWindow* window, 36 BrowserWindow* window,
37 content::WebContents* web_contents, 37 content::WebContents* web_contents,
38 TranslateBubbleModel::ViewState view_state, 38 TranslateBubbleModel::ViewState view_state,
39 TranslateErrors::Type error_type) = 0; 39 TranslateErrors::Type error_type) = 0;
40 40
41 private: 41 private:
42 static TranslateBubbleFactory* current_factory_; 42 static TranslateBubbleFactory* current_factory_;
43 }; 43 };
44 44
45 #endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_FACTORY_H_ 45 #endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_BUBBLE_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/bad_flags_prompt.cc ('k') | chrome/browser/ui/translate/translate_bubble_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698