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

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

Issue 1056793006: [Docking] Persists docked state on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [Docking] Makes docked state persistent on Chrome OS (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "extensions/components/native_app_window/native_app_window_views.h" 9 #include "extensions/components/native_app_window/native_app_window_views.h"
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 protected: 26 protected:
27 // Called before views::Widget::Init() in InitializeDefaultWindow() to allow 27 // Called before views::Widget::Init() in InitializeDefaultWindow() to allow
28 // subclasses to customize the InitParams that would be passed. 28 // subclasses to customize the InitParams that would be passed.
29 virtual void OnBeforeWidgetInit( 29 virtual void OnBeforeWidgetInit(
30 const extensions::AppWindow::CreateParams& create_params, 30 const extensions::AppWindow::CreateParams& create_params,
31 views::Widget::InitParams* init_params, 31 views::Widget::InitParams* init_params,
32 views::Widget* widget); 32 views::Widget* widget);
33 // Called before views::Widget::Init() in InitializeDefaultWindow() to allow 33 // Called before views::Widget::Init() in InitializeDefaultWindow() to allow
34 // subclasses to customize the InitParams that would be passed. 34 // subclasses to customize the InitParams that would be passed.
35 virtual void OnBeforePanelWidgetInit(views::Widget::InitParams* init_params, 35 virtual void OnBeforePanelWidgetInit(bool use_default_bounds,
36 views::Widget::InitParams* init_params,
36 views::Widget* widget); 37 views::Widget* widget);
37 38
38 virtual void InitializeDefaultWindow( 39 virtual void InitializeDefaultWindow(
39 const extensions::AppWindow::CreateParams& create_params); 40 const extensions::AppWindow::CreateParams& create_params);
40 virtual void InitializePanelWindow( 41 virtual void InitializePanelWindow(
41 const extensions::AppWindow::CreateParams& create_params); 42 const extensions::AppWindow::CreateParams& create_params);
42 virtual views::NonClientFrameView* CreateStandardDesktopAppFrame(); 43 virtual views::NonClientFrameView* CreateStandardDesktopAppFrame();
43 virtual apps::AppWindowFrameView* CreateNonStandardAppFrame(); 44 virtual apps::AppWindowFrameView* CreateNonStandardAppFrame();
44 45
45 // ui::BaseWindow implementation. 46 // ui::BaseWindow implementation.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // The class that registers for keyboard shortcuts for extension commands. 91 // The class that registers for keyboard shortcuts for extension commands.
91 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_; 92 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_;
92 93
93 // Used to capture all keyboard events including task switching sequence. 94 // Used to capture all keyboard events including task switching sequence.
94 scoped_ptr<DesktopKeyboardCapture> desktop_keyboard_capture_; 95 scoped_ptr<DesktopKeyboardCapture> desktop_keyboard_capture_;
95 96
96 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews); 97 DISALLOW_COPY_AND_ASSIGN(ChromeNativeAppWindowViews);
97 }; 98 };
98 99
99 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_ 100 #endif // CHROME_BROWSER_UI_VIEWS_APPS_CHROME_NATIVE_APP_WINDOW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/ui/views/apps/chrome_native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698