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 "base/memory/ptr_util.h" |
9 #include "chrome/browser/ui/views/frame/browser_frame.h" | 10 #include "chrome/browser/ui/views/frame/browser_frame.h" |
10 #include "chrome/browser/ui/views/frame/browser_view.h" | 11 #include "chrome/browser/ui/views/frame/browser_view.h" |
11 #include "chrome/common/extensions/extension_constants.h" | 12 #include "chrome/common/extensions/extension_constants.h" |
12 #include "services/ui/public/cpp/property_type_converters.h" | 13 #include "services/ui/public/cpp/property_type_converters.h" |
13 #include "services/ui/public/interfaces/window_tree.mojom.h" | 14 #include "services/ui/public/interfaces/window_tree.mojom.h" |
14 #include "ui/views/mus/desktop_window_tree_host_mus.h" | 15 #include "ui/views/mus/desktop_window_tree_host_mus.h" |
15 #include "ui/views/mus/mus_client.h" | 16 #include "ui/views/mus/mus_client.h" |
16 #include "ui/views/mus/window_manager_frame_values.h" | 17 #include "ui/views/mus/window_manager_frame_values.h" |
17 | 18 |
18 BrowserFrameMus::BrowserFrameMus(BrowserFrame* browser_frame, | 19 BrowserFrameMus::BrowserFrameMus(BrowserFrame* browser_frame, |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 } | 71 } |
71 | 72 |
72 bool BrowserFrameMus::HandleKeyboardEvent( | 73 bool BrowserFrameMus::HandleKeyboardEvent( |
73 const content::NativeWebKeyboardEvent& event) { | 74 const content::NativeWebKeyboardEvent& event) { |
74 return false; | 75 return false; |
75 } | 76 } |
76 | 77 |
77 int BrowserFrameMus::GetMinimizeButtonOffset() const { | 78 int BrowserFrameMus::GetMinimizeButtonOffset() const { |
78 return 0; | 79 return 0; |
79 } | 80 } |
OLD | NEW |