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

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 6 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 virtual void ShowAppMenu() OVERRIDE; 150 virtual void ShowAppMenu() OVERRIDE;
147 virtual bool PreHandleKeyboardEvent( 151 virtual bool PreHandleKeyboardEvent(
148 const content::NativeWebKeyboardEvent& event, 152 const content::NativeWebKeyboardEvent& event,
149 bool* is_keyboard_shortcut) OVERRIDE; 153 bool* is_keyboard_shortcut) OVERRIDE;
150 virtual void HandleKeyboardEvent( 154 virtual void HandleKeyboardEvent(
151 const content::NativeWebKeyboardEvent& event) OVERRIDE; 155 const content::NativeWebKeyboardEvent& event) OVERRIDE;
152 virtual void ShowCreateWebAppShortcutsDialog( 156 virtual void ShowCreateWebAppShortcutsDialog(
153 TabContentsWrapper* tab_contents) OVERRIDE; 157 TabContentsWrapper* tab_contents) OVERRIDE;
154 virtual void ShowCreateChromeAppShortcutsDialog( 158 virtual void ShowCreateChromeAppShortcutsDialog(
155 Profile* profile, 159 Profile* profile,
156 const Extension* app) OVERRIDE; 160 const extensions::Extension* app) OVERRIDE;
157 virtual void Cut() OVERRIDE; 161 virtual void Cut() OVERRIDE;
158 virtual void Copy() OVERRIDE; 162 virtual void Copy() OVERRIDE;
159 virtual void Paste() OVERRIDE; 163 virtual void Paste() OVERRIDE;
160 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE; 164 virtual void ShowInstant(TabContentsWrapper* preview) OVERRIDE;
161 virtual void HideInstant() OVERRIDE; 165 virtual void HideInstant() OVERRIDE;
162 virtual gfx::Rect GetInstantBounds() OVERRIDE; 166 virtual gfx::Rect GetInstantBounds() OVERRIDE;
163 virtual WindowOpenDisposition GetDispositionForPopupBounds( 167 virtual WindowOpenDisposition GetDispositionForPopupBounds(
164 const gfx::Rect& bounds) OVERRIDE; 168 const gfx::Rect& bounds) OVERRIDE;
165 virtual FindBar* CreateFindBar() OVERRIDE; 169 virtual FindBar* CreateFindBar() OVERRIDE;
166 virtual void ShowAvatarBubble(content::WebContents* web_contents, 170 virtual void ShowAvatarBubble(content::WebContents* web_contents,
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 567 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
564 568
565 FullscreenExitBubbleType fullscreen_exit_bubble_type_; 569 FullscreenExitBubbleType fullscreen_exit_bubble_type_;
566 570
567 content::NotificationRegistrar registrar_; 571 content::NotificationRegistrar registrar_;
568 572
569 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 573 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
570 }; 574 };
571 575
572 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_ 576 #endif // CHROME_BROWSER_UI_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc ('k') | chrome/browser/ui/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698