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

Side by Side Diff: chrome/browser/ui/views/extensions/shell_window_views.h

Issue 10911020: Enable commands API for platform apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: filter by extension type instead of specific extensions Created 8 years, 3 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_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
7 7
8 #include "chrome/browser/ui/base_window.h" 8 #include "chrome/browser/ui/base_window.h"
9 #include "chrome/browser/ui/extensions/native_shell_window.h" 9 #include "chrome/browser/ui/extensions/native_shell_window.h"
10 #include "chrome/browser/ui/extensions/shell_window.h" 10 #include "chrome/browser/ui/extensions/shell_window.h"
11 #include "chrome/browser/ui/views/unhandled_keyboard_event_handler.h"
11 #include "third_party/skia/include/core/SkRegion.h" 12 #include "third_party/skia/include/core/SkRegion.h"
12 #include "ui/gfx/rect.h" 13 #include "ui/gfx/rect.h"
13 #include "ui/views/widget/widget_delegate.h" 14 #include "ui/views/widget/widget_delegate.h"
14 15
16 class ExtensionKeybindingRegistryViews;
15 class Profile; 17 class Profile;
16 18
17 namespace content { 19 namespace content {
18 class WebContents; 20 class WebContents;
19 } 21 }
20 22
21 namespace extensions { 23 namespace extensions {
22 class Extension; 24 class Extension;
23 struct DraggableRegion; 25 struct DraggableRegion;
24 } 26 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 views::WebView* web_view_; 111 views::WebView* web_view_;
110 views::Widget* window_; 112 views::Widget* window_;
111 bool is_fullscreen_; 113 bool is_fullscreen_;
112 114
113 scoped_ptr<SkRegion> draggable_region_; 115 scoped_ptr<SkRegion> draggable_region_;
114 116
115 bool frameless_; 117 bool frameless_;
116 gfx::Size minimum_size_; 118 gfx::Size minimum_size_;
117 gfx::Size maximum_size_; 119 gfx::Size maximum_size_;
118 120
121 // The class that registers for keyboard shortcuts for extension commands.
122 scoped_ptr<ExtensionKeybindingRegistryViews> extension_keybinding_registry_;
123
124 UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_;
125
119 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews); 126 DISALLOW_COPY_AND_ASSIGN(ShellWindowViews);
120 }; 127 };
121 128
122 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_ 129 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_SHELL_WINDOW_VIEWS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698