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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_mus.cc

Issue 2074643003: MacViews: Views accelerators table should match the Cocoa one. (Closed) Base URL: ssh://bitbucket.browser.yandex-team.ru/chromium/src.git@master
Patch Set: Fix compilation. Created 4 years, 1 month 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
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_mus.h ('k') | chrome/browser/ui/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698