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

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

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 7 years, 1 month 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 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_UI_TRANSLATE_TRANSLATE_DENIAL_MENU_MODEL_OBSERVER_H_
6 #define CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_DENIAL_MENU_MODEL_OBSERVER_H_
7
8 // An observer for TranslateDenialMenuModel.
9 class TranslateDenialMenuModelObserver {
10 public:
11 enum Command {
12 COMMAND_DENY,
13 COMMAND_NEVER_TRANSLATE_LANG,
14 COMMAND_NEVER_TRANSLATE_SITE,
15 };
16
17 // Handles when a command is executed.
18 virtual void OnExecutingDenialCommand(Command command) = 0;
19 };
sky 2013/11/05 16:29:37 protected virtual destructor.
20
21 #endif // CHROME_BROWSER_UI_TRANSLATE_TRANSLATE_DENIAL_MENU_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698