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

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

Issue 3060045: Making window.focus() work in Chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_GTK_BROWSER_WINDOW_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
6 #define CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 6 #define CHROME_BROWSER_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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 public ActiveWindowWatcherX::Observer { 46 public ActiveWindowWatcherX::Observer {
47 public: 47 public:
48 explicit BrowserWindowGtk(Browser* browser); 48 explicit BrowserWindowGtk(Browser* browser);
49 virtual ~BrowserWindowGtk(); 49 virtual ~BrowserWindowGtk();
50 50
51 // Overridden from BrowserWindow 51 // Overridden from BrowserWindow
52 virtual void Show(); 52 virtual void Show();
53 virtual void SetBounds(const gfx::Rect& bounds); 53 virtual void SetBounds(const gfx::Rect& bounds);
54 virtual void Close(); 54 virtual void Close();
55 virtual void Activate(); 55 virtual void Activate();
56 virtual void Deactivate();
56 virtual bool IsActive() const; 57 virtual bool IsActive() const;
57 virtual void FlashFrame(); 58 virtual void FlashFrame();
58 virtual gfx::NativeWindow GetNativeHandle(); 59 virtual gfx::NativeWindow GetNativeHandle();
59 virtual BrowserWindowTesting* GetBrowserWindowTesting(); 60 virtual BrowserWindowTesting* GetBrowserWindowTesting();
60 virtual StatusBubble* GetStatusBubble(); 61 virtual StatusBubble* GetStatusBubble();
61 virtual void SelectedTabToolbarSizeChanged(bool is_animating); 62 virtual void SelectedTabToolbarSizeChanged(bool is_animating);
62 virtual void SelectedTabExtensionShelfSizeChanged(); 63 virtual void SelectedTabExtensionShelfSizeChanged();
63 virtual void UpdateTitleBar(); 64 virtual void UpdateTitleBar();
64 virtual void ShelfVisibilityChanged(); 65 virtual void ShelfVisibilityChanged();
65 virtual void UpdateDevTools(); 66 virtual void UpdateDevTools();
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 434
434 // The accelerator group used to handle accelerators, owned by this object. 435 // The accelerator group used to handle accelerators, owned by this object.
435 GtkAccelGroup* accel_group_; 436 GtkAccelGroup* accel_group_;
436 437
437 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_; 438 scoped_ptr<FullscreenExitBubbleGtk> fullscreen_exit_bubble_;
438 439
439 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk); 440 DISALLOW_COPY_AND_ASSIGN(BrowserWindowGtk);
440 }; 441 };
441 442
442 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_ 443 #endif // CHROME_BROWSER_GTK_BROWSER_WINDOW_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/gtk/browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698