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

Side by Side Diff: ui/views/widget/native_widget_aura.h

Issue 10795013: Rename bounds accessors to be intuitive and consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/view.cc ('k') | ui/views/widget/native_widget_aura.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_WIDGET_NATIVE_WIDGET_AURA_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
7 7
8 #include "base/memory/scoped_vector.h" 8 #include "base/memory/scoped_vector.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "ui/aura/client/activation_delegate.h" 10 #include "ui/aura/client/activation_delegate.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 virtual void GetWindowPlacement( 70 virtual void GetWindowPlacement(
71 gfx::Rect* bounds, 71 gfx::Rect* bounds,
72 ui::WindowShowState* maximized) const OVERRIDE; 72 ui::WindowShowState* maximized) const OVERRIDE;
73 virtual void SetWindowTitle(const string16& title) OVERRIDE; 73 virtual void SetWindowTitle(const string16& title) OVERRIDE;
74 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon, 74 virtual void SetWindowIcons(const gfx::ImageSkia& window_icon,
75 const gfx::ImageSkia& app_icon) OVERRIDE; 75 const gfx::ImageSkia& app_icon) OVERRIDE;
76 virtual void SetAccessibleName(const string16& name) OVERRIDE; 76 virtual void SetAccessibleName(const string16& name) OVERRIDE;
77 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE; 77 virtual void SetAccessibleRole(ui::AccessibilityTypes::Role role) OVERRIDE;
78 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE; 78 virtual void SetAccessibleState(ui::AccessibilityTypes::State state) OVERRIDE;
79 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE; 79 virtual void InitModalType(ui::ModalType modal_type) OVERRIDE;
80 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 80 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE;
81 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 81 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
82 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 82 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
83 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 83 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
84 virtual void SetSize(const gfx::Size& size) OVERRIDE; 84 virtual void SetSize(const gfx::Size& size) OVERRIDE;
85 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; 85 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE;
86 virtual void StackAtTop() OVERRIDE; 86 virtual void StackAtTop() OVERRIDE;
87 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; 87 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE;
88 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 88 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
89 virtual void Close() OVERRIDE; 89 virtual void Close() OVERRIDE;
90 virtual void CloseNow() OVERRIDE; 90 virtual void CloseNow() OVERRIDE;
91 virtual void Show() OVERRIDE; 91 virtual void Show() OVERRIDE;
(...skipping 18 matching lines...) Expand all
110 virtual void FlashFrame(bool flash_frame) OVERRIDE; 110 virtual void FlashFrame(bool flash_frame) OVERRIDE;
111 virtual bool IsAccessibleWidget() const OVERRIDE; 111 virtual bool IsAccessibleWidget() const OVERRIDE;
112 virtual void RunShellDrag(View* view, 112 virtual void RunShellDrag(View* view,
113 const ui::OSExchangeData& data, 113 const ui::OSExchangeData& data,
114 const gfx::Point& location, 114 const gfx::Point& location,
115 int operation) OVERRIDE; 115 int operation) OVERRIDE;
116 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE; 116 virtual void SchedulePaintInRect(const gfx::Rect& rect) OVERRIDE;
117 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE; 117 virtual void SetCursor(gfx::NativeCursor cursor) OVERRIDE;
118 virtual void ClearNativeFocus() OVERRIDE; 118 virtual void ClearNativeFocus() OVERRIDE;
119 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE; 119 virtual void FocusNativeView(gfx::NativeView native_view) OVERRIDE;
120 virtual gfx::Rect GetWorkAreaScreenBounds() const OVERRIDE; 120 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
121 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE; 121 virtual void SetInactiveRenderingDisabled(bool value) OVERRIDE;
122 virtual Widget::MoveLoopResult RunMoveLoop() OVERRIDE; 122 virtual Widget::MoveLoopResult RunMoveLoop() OVERRIDE;
123 virtual void EndMoveLoop() OVERRIDE; 123 virtual void EndMoveLoop() OVERRIDE;
124 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE; 124 virtual void SetVisibilityChangedAnimationsEnabled(bool value) OVERRIDE;
125 125
126 // Overridden from views::InputMethodDelegate: 126 // Overridden from views::InputMethodDelegate:
127 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE; 127 virtual void DispatchKeyEventPostIME(const KeyEvent& key) OVERRIDE;
128 128
129 // Overridden from aura::WindowDelegate: 129 // Overridden from aura::WindowDelegate:
130 virtual gfx::Size GetMinimumSize() const OVERRIDE; 130 virtual gfx::Size GetMinimumSize() const OVERRIDE;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 scoped_ptr<DropHelper> drop_helper_; 203 scoped_ptr<DropHelper> drop_helper_;
204 int last_drop_operation_; 204 int last_drop_operation_;
205 205
206 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); 206 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura);
207 }; 207 };
208 208
209 } // namespace views 209 } // namespace views
210 210
211 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ 211 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/view.cc ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698