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

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

Issue 11205004: Fix bug 145175: [Win] Frameless app windows are not resizable if no draggable region is specified (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch to land Created 8 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/native_shell_window.h » ('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_SHELL_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 protected: 98 protected:
99 // NativeShellWindow implementation. 99 // NativeShellWindow implementation.
100 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 100 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
101 virtual bool IsFullscreenOrPending() const OVERRIDE; 101 virtual bool IsFullscreenOrPending() const OVERRIDE;
102 virtual void UpdateWindowIcon() OVERRIDE; 102 virtual void UpdateWindowIcon() OVERRIDE;
103 virtual void UpdateWindowTitle() OVERRIDE; 103 virtual void UpdateWindowTitle() OVERRIDE;
104 virtual void UpdateDraggableRegions( 104 virtual void UpdateDraggableRegions(
105 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; 105 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE;
106 virtual void HandleKeyboardEvent( 106 virtual void HandleKeyboardEvent(
107 const content::NativeWebKeyboardEvent& event) OVERRIDE; 107 const content::NativeWebKeyboardEvent& event) OVERRIDE;
108 virtual void RenderViewHostChanged() OVERRIDE {}
108 109
109 private: 110 private:
110 virtual ~ShellWindowCocoa(); 111 virtual ~ShellWindowCocoa();
111 112
112 ShellNSWindow* window() const; 113 ShellNSWindow* window() const;
113 114
114 content::WebContents* web_contents() const { 115 content::WebContents* web_contents() const {
115 return shell_window_->web_contents(); 116 return shell_window_->web_contents();
116 } 117 }
117 const extensions::Extension* extension() const { 118 const extensions::Extension* extension() const {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 NSPoint last_mouse_location_; 155 NSPoint last_mouse_location_;
155 156
156 // The Extension Command Registry used to determine which keyboard events to 157 // The Extension Command Registry used to determine which keyboard events to
157 // handle. 158 // handle.
158 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; 159 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_;
159 160
160 DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa); 161 DISALLOW_COPY_AND_ASSIGN(ShellWindowCocoa);
161 }; 162 };
162 163
163 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_ 164 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_SHELL_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/extensions/native_shell_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698