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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.h

Issue 12088089: Move DraggableRegion to top directory src/extensions/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@themes
Patch Set: Created 7 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/native_app_window_views.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/scoped_nsobject.h" 11 #include "base/memory/scoped_nsobject.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #import "chrome/browser/ui/cocoa/browser_command_executor.h" 13 #import "chrome/browser/ui/cocoa/browser_command_executor.h"
14 #include "chrome/browser/ui/extensions/native_app_window.h" 14 #include "chrome/browser/ui/extensions/native_app_window.h"
15 #include "chrome/browser/ui/extensions/shell_window.h" 15 #include "chrome/browser/ui/extensions/shell_window.h"
16 #include "chrome/common/extensions/draggable_region.h"
17 #include "content/public/browser/notification_observer.h" 16 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 17 #include "content/public/browser/notification_registrar.h"
18 #include "extensions/common/draggable_region.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 20
21 class ExtensionKeybindingRegistryCocoa; 21 class ExtensionKeybindingRegistryCocoa;
22 class Profile; 22 class Profile;
23 class NativeAppWindowCocoa; 23 class NativeAppWindowCocoa;
24 @class ShellNSWindow; 24 @class ShellNSWindow;
25 class SkRegion; 25 class SkRegion;
26 26
27 // A window controller for a minimal window to host a web app view. Passes 27 // A window controller for a minimal window to host a web app view. Passes
28 // Objective-C notifications to the C++ bridge. 28 // Objective-C notifications to the C++ bridge.
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 // The Extension Command Registry used to determine which keyboard events to 173 // The Extension Command Registry used to determine which keyboard events to
174 // handle. 174 // handle.
175 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; 175 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_;
176 176
177 content::NotificationRegistrar registrar_; 177 content::NotificationRegistrar registrar_;
178 178
179 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); 179 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa);
180 }; 180 };
181 181
182 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_ 182 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_NATIVE_APP_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698