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

Side by Side Diff: ui/views/window/non_client_view.h

Issue 9452008: Allow platform apps to specify a maximum size for the shell container. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: missing file Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/window/non_client_view.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ 5 #ifndef UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
6 #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ 6 #define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/views/view.h" 9 #include "ui/views/view.h"
10 #include "ui/views/window/client_view.h" 10 #include "ui/views/window/client_view.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // metrics such as the position of the window controls changes independently 194 // metrics such as the position of the window controls changes independently
195 // of a window resize message. 195 // of a window resize message.
196 void LayoutFrameView(); 196 void LayoutFrameView();
197 197
198 // Set the accessible name of this view. 198 // Set the accessible name of this view.
199 void SetAccessibleName(const string16& name); 199 void SetAccessibleName(const string16& name);
200 200
201 // NonClientView, View overrides: 201 // NonClientView, View overrides:
202 virtual gfx::Size GetPreferredSize() OVERRIDE; 202 virtual gfx::Size GetPreferredSize() OVERRIDE;
203 virtual gfx::Size GetMinimumSize() OVERRIDE; 203 virtual gfx::Size GetMinimumSize() OVERRIDE;
204 virtual gfx::Size GetMaximumSize() OVERRIDE;
204 virtual void Layout() OVERRIDE; 205 virtual void Layout() OVERRIDE;
205 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 206 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
206 virtual std::string GetClassName() const OVERRIDE; 207 virtual std::string GetClassName() const OVERRIDE;
207 208
208 virtual views::View* GetEventHandlerForPoint(const gfx::Point& point) 209 virtual views::View* GetEventHandlerForPoint(const gfx::Point& point)
209 OVERRIDE; 210 OVERRIDE;
210 211
211 protected: 212 protected:
212 // NonClientView, View overrides: 213 // NonClientView, View overrides:
213 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child) 214 virtual void ViewHierarchyChanged(bool is_add, View* parent, View* child)
(...skipping 12 matching lines...) Expand all
226 227
227 // The accessible name of this view. 228 // The accessible name of this view.
228 string16 accessible_name_; 229 string16 accessible_name_;
229 230
230 DISALLOW_COPY_AND_ASSIGN(NonClientView); 231 DISALLOW_COPY_AND_ASSIGN(NonClientView);
231 }; 232 };
232 233
233 } // namespace views 234 } // namespace views
234 235
235 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_ 236 #endif // UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/widget/widget.cc ('k') | ui/views/window/non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698