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

Side by Side Diff: extensions/components/native_app_window/native_app_window_views.h

Issue 1158523002: Add user_gesture param to BaseWindow::Show Base URL: https://chromium.googlesource.com/chromium/src.git@ug3_BaseWindow_Activate
Patch Set: Update callers Created 5 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_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ 5 #ifndef EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
6 #define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ 6 #define EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
7 7
8 #include "base/observer_list.h" 8 #include "base/observer_list.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 #include "extensions/browser/app_window/app_window.h" 10 #include "extensions/browser/app_window/app_window.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // ui::BaseWindow implementation. 75 // ui::BaseWindow implementation.
76 bool IsActive() const override; 76 bool IsActive() const override;
77 bool IsMaximized() const override; 77 bool IsMaximized() const override;
78 bool IsMinimized() const override; 78 bool IsMinimized() const override;
79 bool IsFullscreen() const override; 79 bool IsFullscreen() const override;
80 gfx::NativeWindow GetNativeWindow() const override; 80 gfx::NativeWindow GetNativeWindow() const override;
81 gfx::Rect GetRestoredBounds() const override; 81 gfx::Rect GetRestoredBounds() const override;
82 ui::WindowShowState GetRestoredState() const override; 82 ui::WindowShowState GetRestoredState() const override;
83 gfx::Rect GetBounds() const override; 83 gfx::Rect GetBounds() const override;
84 void Show() override; 84 void Show(bool user_gesture) override;
85 void ShowInactive() override; 85 void ShowInactive() override;
86 void Hide() override; 86 void Hide() override;
87 void Close() override; 87 void Close() override;
88 void Activate(bool user_gesture) override; 88 void Activate(bool user_gesture) override;
89 void Deactivate() override; 89 void Deactivate() override;
90 void Maximize() override; 90 void Maximize() override;
91 void Minimize() override; 91 void Minimize() override;
92 void Restore() override; 92 void Restore() override;
93 void SetBounds(const gfx::Rect& bounds) override; 93 void SetBounds(const gfx::Rect& bounds) override;
94 void FlashFrame(bool flash) override; 94 void FlashFrame(bool flash) override;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 182 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
183 183
184 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 184 ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
185 185
186 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); 186 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
187 }; 187 };
188 188
189 } // namespace native_app_window 189 } // namespace native_app_window
190 190
191 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_ 191 #endif // EXTENSIONS_COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window.cc ('k') | extensions/components/native_app_window/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698