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

Side by Side Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.h

Issue 1053303003: [MacViews] Implement colored window frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 5 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 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_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h" 9 #include "chrome/browser/ui/views/apps/chrome_native_app_window_views.h"
10 #include "ui/views/context_menu_controller.h" 10 #include "ui/views/context_menu_controller.h"
(...skipping 25 matching lines...) Expand all
36 const extensions::AppWindow::CreateParams& create_params) override; 36 const extensions::AppWindow::CreateParams& create_params) override;
37 37
38 // ChromeNativeAppWindowViews implementation. 38 // ChromeNativeAppWindowViews implementation.
39 void OnBeforeWidgetInit( 39 void OnBeforeWidgetInit(
40 const extensions::AppWindow::CreateParams& create_params, 40 const extensions::AppWindow::CreateParams& create_params,
41 views::Widget::InitParams* init_params, 41 views::Widget::InitParams* init_params,
42 views::Widget* widget) override; 42 views::Widget* widget) override;
43 void OnBeforePanelWidgetInit(bool use_default_bounds, 43 void OnBeforePanelWidgetInit(bool use_default_bounds,
44 views::Widget::InitParams* init_params, 44 views::Widget::InitParams* init_params,
45 views::Widget* widget) override; 45 views::Widget* widget) override;
46 apps::AppWindowFrameView* CreateNonStandardAppFrame() override; 46 views::NonClientFrameView* CreateNonStandardAppFrame() override;
47 47
48 // ui::BaseWindow implementation. 48 // ui::BaseWindow implementation.
49 gfx::Rect GetRestoredBounds() const override; 49 gfx::Rect GetRestoredBounds() const override;
50 ui::WindowShowState GetRestoredState() const override; 50 ui::WindowShowState GetRestoredState() const override;
51 bool IsAlwaysOnTop() const override; 51 bool IsAlwaysOnTop() const override;
52 52
53 // views::ContextMenuController implementation. 53 // views::ContextMenuController implementation.
54 void ShowContextMenuForView(views::View* source, 54 void ShowContextMenuForView(views::View* source,
55 const gfx::Point& p, 55 const gfx::Point& p,
56 ui::MenuSourceType source_type) override; 56 ui::MenuSourceType source_type) override;
(...skipping 19 matching lines...) Expand all
76 76
77 #if defined(OS_CHROMEOS) 77 #if defined(OS_CHROMEOS)
78 // Used to show the system menu. 78 // Used to show the system menu.
79 scoped_ptr<views::MenuRunner> menu_runner_; 79 scoped_ptr<views::MenuRunner> menu_runner_;
80 #endif 80 #endif
81 81
82 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsAura); 82 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViewsAura);
83 }; 83 };
84 84
85 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_H_ 85 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698