OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |