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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 10538039: Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyrights Created 8 years, 6 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_COCOA_BROWSER_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_nsobject.h" 9 #include "base/memory/scoped_nsobject.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 28 matching lines...) Expand all
39 // Overridden from BrowserWindow 39 // Overridden from BrowserWindow
40 virtual void Show() OVERRIDE; 40 virtual void Show() OVERRIDE;
41 virtual void ShowInactive() OVERRIDE; 41 virtual void ShowInactive() OVERRIDE;
42 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 42 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
43 virtual void Close() OVERRIDE; 43 virtual void Close() OVERRIDE;
44 virtual void Activate() OVERRIDE; 44 virtual void Activate() OVERRIDE;
45 virtual void Deactivate() OVERRIDE; 45 virtual void Deactivate() OVERRIDE;
46 virtual bool IsActive() const OVERRIDE; 46 virtual bool IsActive() const OVERRIDE;
47 virtual void FlashFrame(bool flash) OVERRIDE; 47 virtual void FlashFrame(bool flash) OVERRIDE;
48 virtual bool IsAlwaysOnTop() const OVERRIDE; 48 virtual bool IsAlwaysOnTop() const OVERRIDE;
49 virtual gfx::NativeWindow GetNativeHandle() OVERRIDE; 49 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE;
50 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; 50 virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE;
51 virtual StatusBubble* GetStatusBubble() OVERRIDE; 51 virtual StatusBubble* GetStatusBubble() OVERRIDE;
52 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE; 52 virtual void ToolbarSizeChanged(bool is_animating) OVERRIDE;
53 virtual void UpdateTitleBar() OVERRIDE; 53 virtual void UpdateTitleBar() OVERRIDE;
54 virtual void BookmarkBarStateChanged( 54 virtual void BookmarkBarStateChanged(
55 BookmarkBar::AnimateChangeType change_type) OVERRIDE; 55 BookmarkBar::AnimateChangeType change_type) OVERRIDE;
56 virtual void UpdateDevTools() OVERRIDE; 56 virtual void UpdateDevTools() OVERRIDE;
57 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE; 57 virtual void SetDevToolsDockSide(DevToolsDockSide side) OVERRIDE;
58 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE; 58 virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE;
59 virtual void SetStarredState(bool is_starred) OVERRIDE; 59 virtual void SetStarredState(bool is_starred) OVERRIDE;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 PrefChangeRegistrar pref_change_registrar_; 170 PrefChangeRegistrar pref_change_registrar_;
171 Browser* browser_; // weak, owned by controller 171 Browser* browser_; // weak, owned by controller
172 BrowserWindowController* controller_; // weak, owns us 172 BrowserWindowController* controller_; // weak, owns us
173 base::WeakPtrFactory<Browser> confirm_close_factory_; 173 base::WeakPtrFactory<Browser> confirm_close_factory_;
174 scoped_nsobject<NSString> pending_window_title_; 174 scoped_nsobject<NSString> pending_window_title_;
175 ui::WindowShowState initial_show_state_; 175 ui::WindowShowState initial_show_state_;
176 NSInteger attention_request_id_; // identifier from requestUserAttention 176 NSInteger attention_request_id_; // identifier from requestUserAttention
177 }; 177 };
178 178
179 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_ 179 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.mm ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698