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

Side by Side Diff: chrome/browser/ui/gtk/browser_window_gtk.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 2 Created 8 years, 7 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
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_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 22 matching lines...) Expand all
33 class ExtensionKeybindingRegistryGtk; 33 class ExtensionKeybindingRegistryGtk;
34 class FindBarGtk; 34 class FindBarGtk;
35 class FullscreenExitBubbleGtk; 35 class FullscreenExitBubbleGtk;
36 class GlobalMenuBar; 36 class GlobalMenuBar;
37 class InfoBarContainerGtk; 37 class InfoBarContainerGtk;
38 class LocationBar; 38 class LocationBar;
39 class StatusBubbleGtk; 39 class StatusBubbleGtk;
40 class TabContentsContainerGtk; 40 class TabContentsContainerGtk;
41 class TabStripGtk; 41 class TabStripGtk;
42 42
43 namespace extensions {
44 class Extension;
45 }
46
43 // An implementation of BrowserWindow for GTK. 47 // An implementation of BrowserWindow for GTK.
44 // Cross-platform code will interact with this object when 48 // Cross-platform code will interact with this object when
45 // it needs to manipulate the window. 49 // it needs to manipulate the window.
46 50
47 class BrowserWindowGtk : public BrowserWindow, 51 class BrowserWindowGtk : public BrowserWindow,
48 public content::NotificationObserver, 52 public content::NotificationObserver,
49 public TabStripModelObserver, 53 public TabStripModelObserver,
50 public ui::ActiveWindowWatcherXObserver, 54 public ui::ActiveWindowWatcherXObserver,
51 public InfoBarContainer::Delegate { 55 public InfoBarContainer::Delegate {
52 public: 56 public:
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 bool show_history) OVERRIDE; 149 bool show_history) OVERRIDE;
146 virtual void ShowAppMenu() OVERRIDE; 150 virtual void ShowAppMenu() OVERRIDE;
147 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 151 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
148 bool* is_keyboard_shortcut) OVERRIDE; 152 bool* is_keyboard_shortcut) OVERRIDE;
149 virtual void HandleKeyboardEvent( 153 virtual void HandleKeyboardEvent(
150 const NativeWebKeyboardEvent& event) OVERRIDE; 154 const NativeWebKeyboardEvent& event) OVERRIDE;
151 virtual void ShowCreateWebAppShortcutsDialog( 155 virtual void ShowCreateWebAppShortcutsDialog(
152 TabContentsWrapper* tab_contents) OVERRIDE; 156 TabContentsWrapper* tab_contents) OVERRIDE;
153 virtual void ShowCreateChromeAppShortcutsDialog( 157 virtual void ShowCreateChromeAppShortcutsDialog(
154 Profile* profile, 158 Profile* profile,
155 const Extension* app) OVERRIDE; 159 const extensions::Extension* app) OVERRIDE;
156 virtual void Cut() OVERRIDE; 160 virtual void Cut() OVERRIDE;
157 virtual void Copy() OVERRIDE; 161 virtual void Copy() OVERRIDE;
158 virtual void Paste() OVERRIDE; 162 virtual void Paste() OVERRIDE;
159 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; 163 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE;
160 virtual void HideInstant() OVERRIDE; 164 virtual void HideInstant() OVERRIDE;
161 virtual gfx::Rect GetInstantBounds() OVERRIDE; 165 virtual gfx::Rect GetInstantBounds() OVERRIDE;
162 virtual WindowOpenDisposition GetDispositionForPopupBounds( 166 virtual WindowOpenDisposition GetDispositionForPopupBounds(
163 const gfx::Rect& bounds) OVERRIDE; 167 const gfx::Rect& bounds) OVERRIDE;
164 virtual FindBar* CreateFindBar() OVERRIDE; 168 virtual FindBar* CreateFindBar() OVERRIDE;
165 virtual void ShowAvatarBubble(content::WebContents* web_contents, 169 virtual void ShowAvatarBubble(content::WebContents* web_contents,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 566 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
563 567
564 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 568 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
565 569
566 content::NotificationRegistrar registrar_; 570 content::NotificationRegistrar registrar_;
567 571
568 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 572 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
569 }; 573 };
570 574
571 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 575 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698