throw an error for out of bounds window levels
This commit is contained in:
parent
fb741285c6
commit
1f5518b91e
6 changed files with 20 additions and 8 deletions
|
@ -120,7 +120,8 @@ class NativeWindow : public base::SupportsUserData,
|
|||
virtual bool IsClosable() = 0;
|
||||
virtual void SetAlwaysOnTop(bool top,
|
||||
const std::string& level = "floating",
|
||||
int relativeLevel = 0) = 0;
|
||||
int relativeLevel = 0,
|
||||
std::string* error = nullptr) = 0;
|
||||
virtual bool IsAlwaysOnTop() = 0;
|
||||
virtual void Center() = 0;
|
||||
virtual void SetTitle(const std::string& title) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue