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

Side by Side Diff: extensions/browser/app_window/native_app_window.h

Issue 2854893004: cros: Hook AppCurrentWindowInternal setActivateOnPointer with aura side api (Closed)
Patch Set: update xml Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void SetContentSizeConstraints(const gfx::Size& min_size, 87 virtual void SetContentSizeConstraints(const gfx::Size& min_size,
88 const gfx::Size& max_size) = 0; 88 const gfx::Size& max_size) = 0;
89 89
90 // Sets whether the window should be visible on all workspaces. 90 // Sets whether the window should be visible on all workspaces.
91 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0; 91 virtual void SetVisibleOnAllWorkspaces(bool always_visible) = 0;
92 92
93 // Returns false if the underlying native window ignores alpha transparency 93 // Returns false if the underlying native window ignores alpha transparency
94 // when compositing. 94 // when compositing.
95 virtual bool CanHaveAlphaEnabled() const = 0; 95 virtual bool CanHaveAlphaEnabled() const = 0;
96 96
97 // Sets whether the window should be activated on pointer event.
98 virtual void SetActivateOnPointer(bool activate_on_pointer) = 0;
99
97 ~NativeAppWindow() override {} 100 ~NativeAppWindow() override {}
98 }; 101 };
99 102
100 } // namespace extensions 103 } // namespace extensions
101 104
102 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_ 105 #endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698