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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h

Issue 1172483003: [MacViews] Update AppWindow when the native window changes fullscreen state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views
Patch Set: Don't remove ChromeNativeAppWindowViews::is_fullscreen_ Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h b/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h
index fda6c542158f6a4cb16259ca90a0493764551a5e..9095c532702c54ebef805ee0c7f5346b1bf7b60a 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_mac.h
@@ -28,6 +28,10 @@ class ChromeNativeAppWindowViewsMac : public ChromeNativeAppWindowViews {
void Activate() override;
void FlashFrame(bool flash) override;
+ // WidgetObserver implementation.
+ void OnWidgetBoundsChanged(views::Widget* widget,
+ const gfx::Rect& new_bounds) override;
tapted 2015/06/09 06:04:01 nit: should come after NativeAppWindow, to match t
jackhou1 2015/06/10 05:06:03 Removed.
+
// NativeAppWindow implementation.
// These are used to simulate Mac-style hide/show. Since windows can be hidden
// and shown using the app.window API, this sets is_hidden_with_app_ to

Powered by Google App Engine
This is Rietveld 408576698