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

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

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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 | Annotate | Revision Log
« no previous file with comments | « apps/ui/views/app_window_frame_view.cc ('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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 virtual void RenderViewCreated( 120 virtual void RenderViewCreated(
121 content::RenderViewHost* render_view_host) OVERRIDE; 121 content::RenderViewHost* render_view_host) OVERRIDE;
122 virtual void RenderViewHostChanged( 122 virtual void RenderViewHostChanged(
123 content::RenderViewHost* old_host, 123 content::RenderViewHost* old_host,
124 content::RenderViewHost* new_host) OVERRIDE; 124 content::RenderViewHost* new_host) OVERRIDE;
125 125
126 // views::View implementation. 126 // views::View implementation.
127 virtual void Layout() OVERRIDE; 127 virtual void Layout() OVERRIDE;
128 virtual void ViewHierarchyChanged( 128 virtual void ViewHierarchyChanged(
129 const ViewHierarchyChangedDetails& details) OVERRIDE; 129 const ViewHierarchyChangedDetails& details) OVERRIDE;
130 virtual gfx::Size GetMinimumSize() OVERRIDE; 130 virtual gfx::Size GetMinimumSize() const OVERRIDE;
131 virtual gfx::Size GetMaximumSize() OVERRIDE; 131 virtual gfx::Size GetMaximumSize() OVERRIDE;
132 virtual void OnFocus() OVERRIDE; 132 virtual void OnFocus() OVERRIDE;
133 133
134 // NativeAppWindow implementation. 134 // NativeAppWindow implementation.
135 virtual void SetFullscreen(int fullscreen_types) OVERRIDE; 135 virtual void SetFullscreen(int fullscreen_types) OVERRIDE;
136 virtual bool IsFullscreenOrPending() const OVERRIDE; 136 virtual bool IsFullscreenOrPending() const OVERRIDE;
137 virtual bool IsDetached() const OVERRIDE; 137 virtual bool IsDetached() const OVERRIDE;
138 virtual void UpdateWindowIcon() OVERRIDE; 138 virtual void UpdateWindowIcon() OVERRIDE;
139 virtual void UpdateWindowTitle() OVERRIDE; 139 virtual void UpdateWindowTitle() OVERRIDE;
140 virtual void UpdateBadgeIcon() OVERRIDE; 140 virtual void UpdateBadgeIcon() OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; 184 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
185 185
186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_; 186 ObserverList<web_modal::ModalDialogHostObserver> observer_list_;
187 187
188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews); 188 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
189 }; 189 };
190 190
191 } // namespace apps 191 } // namespace apps
192 192
193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_ 193 #endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « apps/ui/views/app_window_frame_view.cc ('k') | apps/ui/views/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698