Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_BUBBLE_SHOWABLE_H_ | |
| 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_BUBBLE_SHOWABLE_H_ | |
| 7 | |
| 8 #include "chrome/browser/ui/translate/translate_bubble_model.h" | |
| 9 | |
| 10 namespace content { | |
| 11 class WebContents; | |
| 12 } | |
| 13 | |
| 14 // The interface to show the translate bubble. | |
| 15 class TranslateBubbleShowable { | |
| 16 public: | |
| 17 virtual ~TranslateBubbleShowable() {} | |
| 18 | |
| 19 // Shows the Translate bubble. | |
| 20 virtual void Show(content::WebContents* web_contents, | |
|
sky
2013/10/22 16:09:22
How about putting this in browser_dialogs and nami
sky
2013/10/22 16:16:00
Also, you could keep the Show method in browser_di
hajimehoshi
2013/10/23 10:45:09
Done. Showing the bubble via BrowserWindow is alre
| |
| 21 TranslateBubbleModel::ViewState view_state) = 0; | |
| 22 }; | |
| 23 | |
| 24 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_BUBBLE_SHOWABLE_H_ | |
| OLD | NEW |