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

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

Issue 262027: include CHROMEOS files and defintions in TOOLKIT_VEIWS build.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual ~BrowserView(); 79 virtual ~BrowserView();
80 80
81 void set_frame(BrowserFrame* frame) { frame_ = frame; } 81 void set_frame(BrowserFrame* frame) { frame_ = frame; }
82 BrowserFrame* frame() const { return frame_; } 82 BrowserFrame* frame() const { return frame_; }
83 83
84 // Returns a pointer to the BrowserView* interface implementation (an 84 // Returns a pointer to the BrowserView* interface implementation (an
85 // instance of this object, typically) for a given native window, or NULL if 85 // instance of this object, typically) for a given native window, or NULL if
86 // there is no such association. 86 // there is no such association.
87 static BrowserView* GetBrowserViewForNativeWindow(gfx::NativeWindow window); 87 static BrowserView* GetBrowserViewForNativeWindow(gfx::NativeWindow window);
88 88
89 // Returns a Browser instance of this view.
90 Browser* browser() const { return browser_.get(); }
91
89 // Returns the show flag that should be used to show the frame containing 92 // Returns the show flag that should be used to show the frame containing
90 // this view. 93 // this view.
91 int GetShowState() const; 94 int GetShowState() const;
92 95
93 // Called by the frame to notify the BrowserView that it was moved, and that 96 // Called by the frame to notify the BrowserView that it was moved, and that
94 // any dependent popup windows should be repositioned. 97 // any dependent popup windows should be repositioned.
95 void WindowMoved(); 98 void WindowMoved();
96 99
97 // Called by the frame to notify the BrowserView that a move or resize was 100 // Called by the frame to notify the BrowserView that a move or resize was
98 // initiated. 101 // initiated.
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 typedef std::set<BrowserBubble*> BubbleSet; 511 typedef std::set<BrowserBubble*> BubbleSet;
509 BubbleSet browser_bubbles_; 512 BubbleSet browser_bubbles_;
510 513
511 // The accessible name of this view. 514 // The accessible name of this view.
512 std::wstring accessible_name_; 515 std::wstring accessible_name_;
513 516
514 DISALLOW_COPY_AND_ASSIGN(BrowserView); 517 DISALLOW_COPY_AND_ASSIGN(BrowserView);
515 }; 518 };
516 519
517 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 520 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/views/tabs/tab_overview_message_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698