Focus rings for checkboxes and radio buttons should not be shown in Sync setup overlay.
[chromium-blink-merge.git] / ui / web_dialogs / web_dialog_observer.h
blob57995ee21a063d55c835efb01e912ac6cd245b66
1 // Copyright (c) 2012 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.
5 #ifndef UI_WEB_DIALOGS_WEB_DIALOG_OBSERVER_H_
6 #define UI_WEB_DIALOGS_WEB_DIALOG_OBSERVER_H_
8 namespace content {
9 class RenderViewHost;
10 class WebUI;
13 namespace ui {
15 // Implement this class to receive notifications.
16 class WebDialogObserver {
17 public:
18 // Invoked when a web dialog has been shown.
19 // |webui| is the WebUI with which the dialog is associated.
20 // |render_view_host| is the RenderViewHost for the shown dialog.
21 virtual void OnDialogShown(content::WebUI* webui,
22 content::RenderViewHost* render_view_host) = 0;
24 protected:
25 virtual ~WebDialogObserver() {}
28 } // namespace ui
30 #endif // UI_WEB_DIALOGS_WEB_DIALOG_OBSERVER_H_