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

Side by Side Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.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, 2 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_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/timer.h" 10 #include "base/timer.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 private: 56 private:
57 // NativeShellWindow implementation. 57 // NativeShellWindow implementation.
58 virtual void SetFullscreen(bool fullscreen) OVERRIDE; 58 virtual void SetFullscreen(bool fullscreen) OVERRIDE;
59 virtual bool IsFullscreenOrPending() const OVERRIDE; 59 virtual bool IsFullscreenOrPending() const OVERRIDE;
60 virtual void UpdateWindowIcon() OVERRIDE; 60 virtual void UpdateWindowIcon() OVERRIDE;
61 virtual void UpdateWindowTitle() OVERRIDE; 61 virtual void UpdateWindowTitle() OVERRIDE;
62 virtual void HandleKeyboardEvent( 62 virtual void HandleKeyboardEvent(
63 const content::NativeWebKeyboardEvent& event) OVERRIDE; 63 const content::NativeWebKeyboardEvent& event) OVERRIDE;
64 virtual void UpdateDraggableRegions( 64 virtual void UpdateDraggableRegions(
65 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE; 65 const std::vector<extensions::DraggableRegion>& regions) OVERRIDE;
66 virtual void RenderViewHostChanged() OVERRIDE {}
66 67
67 content::WebContents* web_contents() const { 68 content::WebContents* web_contents() const {
68 return shell_window_->web_contents(); 69 return shell_window_->web_contents();
69 } 70 }
70 const extensions::Extension* extension() const { 71 const extensions::Extension* extension() const {
71 return shell_window_->extension(); 72 return shell_window_->extension();
72 } 73 }
73 74
74 virtual ~ShellWindowGtk(); 75 virtual ~ShellWindowGtk();
75 76
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 121
121 // The Extension Keybinding Registry responsible for registering listeners for 122 // The Extension Keybinding Registry responsible for registering listeners for
122 // accelerators that are sent to the window, that are destined to be turned 123 // accelerators that are sent to the window, that are destined to be turned
123 // into events and sent to the extension. 124 // into events and sent to the extension.
124 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_; 125 scoped_ptr<ExtensionKeybindingRegistryGtk> extension_keybinding_registry_;
125 126
126 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk); 127 DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk);
127 }; 128 };
128 129
129 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_ 130 #endif // CHROME_BROWSER_UI_GTK_EXTENSIONS_SHELL_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/views/extensions/shell_window_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698