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

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

Issue 2833363002: Add GetCaptionButtonHeightInDIPs() method (Closed)
Patch Set: Created 3 years, 8 months 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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/views/frame/native_browser_frame.h" 9 #include "chrome/browser/ui/views/frame/native_browser_frame.h"
10 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" 10 #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
(...skipping 13 matching lines...) Expand all
24 bool UseCustomFrame() const override; 24 bool UseCustomFrame() const override;
25 bool UsesNativeSystemMenu() const override; 25 bool UsesNativeSystemMenu() const override;
26 bool ShouldSaveWindowPlacement() const override; 26 bool ShouldSaveWindowPlacement() const override;
27 void GetWindowPlacement(gfx::Rect* bounds, 27 void GetWindowPlacement(gfx::Rect* bounds,
28 ui::WindowShowState* show_state) const override; 28 ui::WindowShowState* show_state) const override;
29 bool PreHandleKeyboardEvent( 29 bool PreHandleKeyboardEvent(
30 const content::NativeWebKeyboardEvent& event) override; 30 const content::NativeWebKeyboardEvent& event) override;
31 bool HandleKeyboardEvent( 31 bool HandleKeyboardEvent(
32 const content::NativeWebKeyboardEvent& event) override; 32 const content::NativeWebKeyboardEvent& event) override;
33 int GetMinimizeButtonOffset() const override; 33 int GetMinimizeButtonOffset() const override;
34 int GetMinimizeButtonHeight() const override;
34 35
35 BrowserFrame* browser_frame_; 36 BrowserFrame* browser_frame_;
36 BrowserView* browser_view_; 37 BrowserView* browser_view_;
37 38
38 DISALLOW_COPY_AND_ASSIGN(BrowserFrameMus); 39 DISALLOW_COPY_AND_ASSIGN(BrowserFrameMus);
39 }; 40 };
40 41
41 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_ 42 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698