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

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

Issue 11819008: Refactors building the system menu model into a common place (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk and fix windows build Created 7 years, 11 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 | Annotate | Revision Log
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_BROWSER_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_
7 7
8 #include "ui/views/widget/desktop_aura/desktop_root_window_host_linux.h" 8 #include "ui/views/widget/desktop_aura/desktop_root_window_host_linux.h"
9 #include "chrome/browser/ui/views/frame/browser_desktop_root_window_host.h" 9 #include "chrome/browser/ui/views/frame/browser_desktop_root_window_host.h"
10 10
(...skipping 11 matching lines...) Expand all
22 BrowserDesktopRootWindowHostLinux( 22 BrowserDesktopRootWindowHostLinux(
23 views::internal::NativeWidgetDelegate* native_widget_delegate, 23 views::internal::NativeWidgetDelegate* native_widget_delegate,
24 views::DesktopNativeWidgetAura* desktop_native_widget_aura, 24 views::DesktopNativeWidgetAura* desktop_native_widget_aura,
25 const gfx::Rect& initial_bounds); 25 const gfx::Rect& initial_bounds);
26 virtual ~BrowserDesktopRootWindowHostLinux(); 26 virtual ~BrowserDesktopRootWindowHostLinux();
27 27
28 private: 28 private:
29 // Overridden from BrowserDesktopRootWindowHost: 29 // Overridden from BrowserDesktopRootWindowHost:
30 virtual DesktopRootWindowHost* AsDesktopRootWindowHost() OVERRIDE; 30 virtual DesktopRootWindowHost* AsDesktopRootWindowHost() OVERRIDE;
31 virtual int GetMinimizeButtonOffset() const OVERRIDE; 31 virtual int GetMinimizeButtonOffset() const OVERRIDE;
32 virtual bool UsesNativeSystemMenu() const OVERRIDE;
32 33
33 DISALLOW_COPY_AND_ASSIGN(BrowserDesktopRootWindowHostLinux); 34 DISALLOW_COPY_AND_ASSIGN(BrowserDesktopRootWindowHostLinux);
34 }; 35 };
35 36
36 37
37 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_LINUX_ H_ 38 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_DESKTOP_ROOT_WINDOW_HOST_LINUX_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698