| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/chromeos/login/login_wizard_view.h" | 5 #include "chrome/browser/chromeos/login/login_wizard_view.h" |
| 6 | 6 |
| 7 #include <gdk/gdk.h> | 7 #include <gdk/gdk.h> |
| 8 #include <signal.h> | 8 #include <signal.h> |
| 9 #include <sys/types.h> | 9 #include <sys/types.h> |
| 10 #include <X11/cursorfont.h> | 10 #include <X11/cursorfont.h> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 | 40 |
| 41 // Returns just the bounds of the window. | 41 // Returns just the bounds of the window. |
| 42 virtual gfx::Rect GetBoundsForClientView() const { return bounds(); } | 42 virtual gfx::Rect GetBoundsForClientView() const { return bounds(); } |
| 43 | 43 |
| 44 // Doesn't add any size to the client bounds. | 44 // Doesn't add any size to the client bounds. |
| 45 virtual gfx::Rect GetWindowBoundsForClientBounds( | 45 virtual gfx::Rect GetWindowBoundsForClientBounds( |
| 46 const gfx::Rect& client_bounds) const { | 46 const gfx::Rect& client_bounds) const { |
| 47 return client_bounds; | 47 return client_bounds; |
| 48 } | 48 } |
| 49 | 49 |
| 50 // There is no system menu. | |
| 51 virtual gfx::Point GetSystemMenuPoint() const { return gfx::Point(); } | |
| 52 // There is no non client area. | 50 // There is no non client area. |
| 53 virtual int NonClientHitTest(const gfx::Point& point) { return 0; } | 51 virtual int NonClientHitTest(const gfx::Point& point) { return 0; } |
| 54 | 52 |
| 55 // There is no non client area. | 53 // There is no non client area. |
| 56 virtual void GetWindowMask(const gfx::Size& size, | 54 virtual void GetWindowMask(const gfx::Size& size, |
| 57 gfx::Path* window_mask) {} | 55 gfx::Path* window_mask) {} |
| 58 virtual void EnableClose(bool enable) {} | 56 virtual void EnableClose(bool enable) {} |
| 59 virtual void ResetWindowControls() {} | 57 virtual void ResetWindowControls() {} |
| 60 | 58 |
| 61 DISALLOW_COPY_AND_ASSIGN(LoginWizardNonClientFrameView); | 59 DISALLOW_COPY_AND_ASSIGN(LoginWizardNonClientFrameView); |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 } | 181 } |
| 184 | 182 |
| 185 void LoginWizardView::OpenButtonOptions(const views::View* button_view) const { | 183 void LoginWizardView::OpenButtonOptions(const views::View* button_view) const { |
| 186 // TODO(avayvod): Add some dialog for options or remove them completely. | 184 // TODO(avayvod): Add some dialog for options or remove them completely. |
| 187 } | 185 } |
| 188 | 186 |
| 189 bool LoginWizardView::IsButtonVisible(const views::View* button_view) const { | 187 bool LoginWizardView::IsButtonVisible(const views::View* button_view) const { |
| 190 return true; | 188 return true; |
| 191 } | 189 } |
| 192 | 190 |
| OLD | NEW |