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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_ash.h

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 23 matching lines...) Expand all
34 void OnWindowTargetVisibilityChanged(bool visible) override; 34 void OnWindowTargetVisibilityChanged(bool visible) override;
35 35
36 // Overridden from NativeBrowserFrame: 36 // Overridden from NativeBrowserFrame:
37 views::Widget::InitParams GetWidgetParams() override; 37 views::Widget::InitParams GetWidgetParams() override;
38 bool UseCustomFrame() const override; 38 bool UseCustomFrame() const override;
39 bool UsesNativeSystemMenu() const override; 39 bool UsesNativeSystemMenu() const override;
40 int GetMinimizeButtonOffset() const override; 40 int GetMinimizeButtonOffset() const override;
41 bool ShouldSaveWindowPlacement() const override; 41 bool ShouldSaveWindowPlacement() const override;
42 void GetWindowPlacement(gfx::Rect* bounds, 42 void GetWindowPlacement(gfx::Rect* bounds,
43 ui::WindowShowState* show_state) const override; 43 ui::WindowShowState* show_state) const override;
44 bool PreHandleKeyboardEvent(
45 const content::NativeWebKeyboardEvent& event) override;
46 bool HandleKeyboardEvent(
47 const content::NativeWebKeyboardEvent& event) override;
44 48
45 ~BrowserFrameAsh() override; 49 ~BrowserFrameAsh() override;
46 50
47 private: 51 private:
48 class WindowPropertyWatcher; 52 class WindowPropertyWatcher;
49 53
50 // Set the window into the auto managed mode. 54 // Set the window into the auto managed mode.
51 void SetWindowAutoManaged(); 55 void SetWindowAutoManaged();
52 56
53 // The BrowserView is our ClientView. This is a pointer to it. 57 // The BrowserView is our ClientView. This is a pointer to it.
54 BrowserView* browser_view_; 58 BrowserView* browser_view_;
55 59
56 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAsh); 60 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAsh);
57 }; 61 };
58 62
59 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_ 63 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame.cc ('k') | chrome/browser/ui/views/frame/browser_frame_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698