| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/ui/views/frame/browser_frame_mus.h" | 5 #include "chrome/browser/ui/views/frame/browser_frame_mus.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "chrome/browser/ui/views/frame/browser_frame.h" | 9 #include "chrome/browser/ui/views/frame/browser_frame.h" |
| 10 #include "chrome/browser/ui/views/frame/browser_view.h" | 10 #include "chrome/browser/ui/views/frame/browser_view.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool BrowserFrameMus::ShouldSaveWindowPlacement() const { | 65 bool BrowserFrameMus::ShouldSaveWindowPlacement() const { |
| 66 return false; | 66 return false; |
| 67 } | 67 } |
| 68 | 68 |
| 69 void BrowserFrameMus::GetWindowPlacement( | 69 void BrowserFrameMus::GetWindowPlacement( |
| 70 gfx::Rect* bounds, ui::WindowShowState* show_state) const { | 70 gfx::Rect* bounds, ui::WindowShowState* show_state) const { |
| 71 *bounds = gfx::Rect(10, 10, 800, 600); | 71 *bounds = gfx::Rect(10, 10, 800, 600); |
| 72 *show_state = ui::SHOW_STATE_NORMAL; | 72 *show_state = ui::SHOW_STATE_NORMAL; |
| 73 } | 73 } |
| 74 | 74 |
| 75 bool BrowserFrameMus::PreHandleKeyboardEvent( |
| 76 const content::NativeWebKeyboardEvent& event) { |
| 77 return false; |
| 78 } |
| 79 |
| 80 bool BrowserFrameMus::HandleKeyboardEvent( |
| 81 const content::NativeWebKeyboardEvent& event) { |
| 82 return false; |
| 83 } |
| 84 |
| 75 int BrowserFrameMus::GetMinimizeButtonOffset() const { | 85 int BrowserFrameMus::GetMinimizeButtonOffset() const { |
| 76 return 0; | 86 return 0; |
| 77 } | 87 } |
| 78 | 88 |
| 79 void BrowserFrameMus::UpdateClientArea() { | 89 void BrowserFrameMus::UpdateClientArea() { |
| 80 // BrowserNonClientFrameViewMus::OnBoundsChanged() takes care of updating | 90 // BrowserNonClientFrameViewMus::OnBoundsChanged() takes care of updating |
| 81 // the insets. | 91 // the insets. |
| 82 } | 92 } |
| OLD | NEW |