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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_popup_aura.h

Issue 980663003: MacViews: Refactor aura dependency from ExtensionPopup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aura-window
Patch Set: Fix for msw and rebase Created 5 years, 9 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
(Empty)
1 // Copyright 2015 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_VIEWS_EXTENSIONS_EXTENSION_POPUP_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_AURA_H_
7
8 #include "chrome/browser/ui/views/extensions/extension_popup.h"
9 #include "ui/wm/public/activation_change_observer.h"
10
11 class ExtensionPopupAura : public ExtensionPopup,
12 public aura::client::ActivationChangeObserver {
13 public:
14 ExtensionPopupAura(extensions::ExtensionViewHost* host,
15 views::View* anchor_view,
16 views::BubbleBorder::Arrow arrow,
17 ShowAction show_action);
18 ~ExtensionPopupAura() override;
19
20 // views::WidgetObserver overrides.
21 void OnWidgetDestroying(views::Widget* widget) override;
22
23 // aura::client::ActivationChangeObserver overrides.
24 void OnWindowActivated(aura::Window* gained_active,
25 aura::Window* lost_active) override;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ExtensionPopupAura);
29 };
30
31 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_popup.cc ('k') | chrome/browser/ui/views/extensions/extension_popup_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698