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

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

Issue 2833363002: Add GetCaptionButtonHeightInDIPs() method (Closed)
Patch Set: Addressed review comments Created 3 years, 7 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_NATIVE_BROWSER_FRAME_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_
7 7
8 #include "ui/base/ui_base_types.h" 8 #include "ui/base/ui_base_types.h"
9 #include "ui/gfx/geometry/rect.h" 9 #include "ui/gfx/geometry/rect.h"
10 #include "ui/views/widget/widget.h" 10 #include "ui/views/widget/widget.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Returns true if the |event| was handled by the platform implementation. 43 // Returns true if the |event| was handled by the platform implementation.
44 virtual bool HandleKeyboardEvent( 44 virtual bool HandleKeyboardEvent(
45 const content::NativeWebKeyboardEvent& event) = 0; 45 const content::NativeWebKeyboardEvent& event) = 0;
46 46
47 protected: 47 protected:
48 friend class BrowserFrame; 48 friend class BrowserFrame;
49 49
50 // BrowserFrame pass-thrus --------------------------------------------------- 50 // BrowserFrame pass-thrus ---------------------------------------------------
51 // See browser_frame.h for documentation: 51 // See browser_frame.h for documentation:
52 virtual int GetMinimizeButtonOffset() const = 0; 52 virtual int GetMinimizeButtonOffset() const = 0;
53 virtual int GetCaptionButtonHeight() const = 0;
53 }; 54 };
54 55
55 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_ 56 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_NATIVE_BROWSER_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698