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

Side by Side Diff: extensions/shell/browser/shell_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_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "extensions/browser/app_window/app_window.h" 9 #include "extensions/browser/app_window/app_window.h"
10 #include "extensions/browser/app_window/native_app_window.h" 10 #include "extensions/browser/app_window/native_app_window.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 SkColor InactiveFrameColor() const override; 61 SkColor InactiveFrameColor() const override;
62 gfx::Insets GetFrameInsets() const override; 62 gfx::Insets GetFrameInsets() const override;
63 void ShowWithApp() override; 63 void ShowWithApp() override;
64 void HideWithApp() override; 64 void HideWithApp() override;
65 gfx::Size GetContentMinimumSize() const override; 65 gfx::Size GetContentMinimumSize() const override;
66 gfx::Size GetContentMaximumSize() const override; 66 gfx::Size GetContentMaximumSize() const override;
67 void SetContentSizeConstraints(const gfx::Size& min_size, 67 void SetContentSizeConstraints(const gfx::Size& min_size,
68 const gfx::Size& max_size) override; 68 const gfx::Size& max_size) override;
69 void SetVisibleOnAllWorkspaces(bool always_visible) override; 69 void SetVisibleOnAllWorkspaces(bool always_visible) override;
70 bool CanHaveAlphaEnabled() const override; 70 bool CanHaveAlphaEnabled() const override;
71 void SetActivateOnPointer(bool activate_on_pointer) override;
71 72
72 private: 73 private:
73 AppWindow* app_window_; 74 AppWindow* app_window_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow); 76 DISALLOW_COPY_AND_ASSIGN(ShellNativeAppWindow);
76 }; 77 };
77 78
78 } // namespace extensions 79 } // namespace extensions
79 80
80 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_ 81 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_NATIVE_APP_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698