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

Side by Side Diff: apps/ui/views/native_app_window_views.h

Issue 186343002: Create windows for new app window bounds API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nit Created 6 years, 9 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
« no previous file with comments | « apps/ui/native_app_window.h ('k') | apps/ui/views/native_app_window_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 5 #ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 6 #define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
7 7
8 #include "apps/size_constraints.h" 8 #include "apps/size_constraints.h"
9 #include "apps/ui/native_app_window.h" 9 #include "apps/ui/native_app_window.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 virtual void UpdateShape(scoped_ptr<SkRegion> region) OVERRIDE; 143 virtual void UpdateShape(scoped_ptr<SkRegion> region) OVERRIDE;
144 virtual void HandleKeyboardEvent( 144 virtual void HandleKeyboardEvent(
145 const content::NativeWebKeyboardEvent& event) OVERRIDE; 145 const content::NativeWebKeyboardEvent& event) OVERRIDE;
146 virtual bool IsFrameless() const OVERRIDE; 146 virtual bool IsFrameless() const OVERRIDE;
147 virtual bool HasFrameColor() const OVERRIDE; 147 virtual bool HasFrameColor() const OVERRIDE;
148 virtual SkColor FrameColor() const OVERRIDE; 148 virtual SkColor FrameColor() const OVERRIDE;
149 virtual gfx::Insets GetFrameInsets() const OVERRIDE; 149 virtual gfx::Insets GetFrameInsets() const OVERRIDE;
150 virtual void HideWithApp() OVERRIDE; 150 virtual void HideWithApp() OVERRIDE;
151 virtual void ShowWithApp() OVERRIDE; 151 virtual void ShowWithApp() OVERRIDE;
152 virtual void UpdateShelfMenu() OVERRIDE; 152 virtual void UpdateShelfMenu() OVERRIDE;
153 virtual gfx::Size GetMinimumSize() const OVERRIDE; 153 virtual gfx::Size GetContentMinimumSize() const OVERRIDE;
154 virtual void SetMinimumSize(const gfx::Size& size) OVERRIDE; 154 virtual void SetContentMinimumSize(const gfx::Size& size) OVERRIDE;
155 virtual gfx::Size GetMaximumSize() const OVERRIDE; 155 virtual gfx::Size GetContentMaximumSize() const OVERRIDE;
156 virtual void SetMaximumSize(const gfx::Size& size) OVERRIDE; 156 virtual void SetContentMaximumSize(const gfx::Size& size) OVERRIDE;
157 157
158 // web_modal::WebContentsModalDialogHost implementation. 158 // web_modal::WebContentsModalDialogHost implementation.
159 virtual gfx::NativeView GetHostView() const OVERRIDE; 159 virtual gfx::NativeView GetHostView() const OVERRIDE;
160 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE; 160 virtual gfx::Point GetDialogPosition(const gfx::Size& size) OVERRIDE;
161 virtual gfx::Size GetMaximumDialogSize() OVERRIDE; 161 virtual gfx::Size GetMaximumDialogSize() OVERRIDE;
162 virtual void AddObserver( 162 virtual void AddObserver(
163 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 163 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
164 virtual void RemoveObserver( 164 virtual void RemoveObserver(
165 web_modal::ModalDialogHostObserver* observer) OVERRIDE; 165 web_modal::ModalDialogHostObserver* observer) OVERRIDE;
166 166
(...skipping 15 matching lines...) Expand all
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 apps 189 } // namespace apps
190 190
191 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 191 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « apps/ui/native_app_window.h ('k') | apps/ui/views/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698