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

Side by Side Diff: chrome/browser/views/frame/browser_view.h

Issue 115830: Turn BrowserView::GetBrowserViewForNativeView() into GetBrowserViewForNativeW... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_VIEWS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/gfx/native_widget_types.h" 10 #include "base/gfx/native_widget_types.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 explicit BrowserView(Browser* browser); 62 explicit BrowserView(Browser* browser);
63 virtual ~BrowserView(); 63 virtual ~BrowserView();
64 64
65 void set_frame(BrowserFrame* frame) { frame_ = frame; } 65 void set_frame(BrowserFrame* frame) { frame_ = frame; }
66 BrowserFrame* frame() const { return frame_; } 66 BrowserFrame* frame() const { return frame_; }
67 67
68 // Returns a pointer to the BrowserView* interface implementation (an 68 // Returns a pointer to the BrowserView* interface implementation (an
69 // instance of this object, typically) for a given native window, or NULL if 69 // instance of this object, typically) for a given native window, or NULL if
70 // there is no such association. 70 // there is no such association.
71 static BrowserView* GetBrowserViewForNativeView(gfx::NativeView window); 71 static BrowserView* GetBrowserViewForNativeWindow(gfx::NativeWindow window);
72 72
73 // Returns the show flag that should be used to show the frame containing 73 // Returns the show flag that should be used to show the frame containing
74 // this view. 74 // this view.
75 int GetShowState() const; 75 int GetShowState() const;
76 76
77 // Called by the frame to notify the BrowserView that it was moved, and that 77 // Called by the frame to notify the BrowserView that it was moved, and that
78 // any dependent popup windows should be repositioned. 78 // any dependent popup windows should be repositioned.
79 void WindowMoved(); 79 void WindowMoved();
80 80
81 // Called by the frame to notify the BrowserView that a move or resize was 81 // Called by the frame to notify the BrowserView that a move or resize was
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 // A bottom bar for showing extensions. 432 // A bottom bar for showing extensions.
433 ExtensionShelf* extension_shelf_; 433 ExtensionShelf* extension_shelf_;
434 434
435 typedef std::set<BrowserBubble*> BubbleSet; 435 typedef std::set<BrowserBubble*> BubbleSet;
436 BubbleSet browser_bubbles_; 436 BubbleSet browser_bubbles_;
437 437
438 DISALLOW_COPY_AND_ASSIGN(BrowserView); 438 DISALLOW_COPY_AND_ASSIGN(BrowserView);
439 }; 439 };
440 440
441 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 441 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698