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

Side by Side Diff: chrome/browser/browser_window.h

Issue 279004: Made sync code build and pass unit tests on OS X. (Closed)
Patch Set: Fixed uninitialized var error. 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
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_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_BROWSER_WINDOW_H_
7 7
8 #include "app/gfx/native_widget_types.h" 8 #include "app/gfx/native_widget_types.h"
9 #include "chrome/browser/tab_contents/navigation_entry.h" 9 #include "chrome/browser/tab_contents/navigation_entry.h"
10 10
(...skipping 13 matching lines...) Expand all
24 struct NativeWebKeyboardEvent; 24 struct NativeWebKeyboardEvent;
25 25
26 namespace gfx { 26 namespace gfx {
27 class Rect; 27 class Rect;
28 } 28 }
29 29
30 //////////////////////////////////////////////////////////////////////////////// 30 ////////////////////////////////////////////////////////////////////////////////
31 // BrowserWindow interface 31 // BrowserWindow interface
32 // An interface implemented by the "view" of the Browser window. 32 // An interface implemented by the "view" of the Browser window.
33 // 33 //
34 // NOTE: All getters except GetTabStrip() may return NULL. 34 // NOTE: All getters may return NULL.
35 class BrowserWindow { 35 class BrowserWindow {
36 public: 36 public:
37 // Show the window, or activates it if it's already visible. 37 // Show the window, or activates it if it's already visible.
38 virtual void Show() = 0; 38 virtual void Show() = 0;
39 39
40 // Sets the window's size and position to the specified values. 40 // Sets the window's size and position to the specified values.
41 virtual void SetBounds(const gfx::Rect& bounds) = 0; 41 virtual void SetBounds(const gfx::Rect& bounds) = 0;
42 42
43 // Closes the frame as soon as possible. If the frame is not in a drag 43 // Closes the frame as soon as possible. If the frame is not in a drag
44 // session, it will close immediately; otherwise, it will move offscreen (so 44 // session, it will close immediately; otherwise, it will move offscreen (so
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 // Returns the TabContentsContainer. 298 // Returns the TabContentsContainer.
299 virtual views::View* GetTabContentsContainerView() const = 0; 299 virtual views::View* GetTabContentsContainerView() const = 0;
300 300
301 // Returns the ToolbarView. 301 // Returns the ToolbarView.
302 virtual ToolbarView* GetToolbarView() const = 0; 302 virtual ToolbarView* GetToolbarView() const = 0;
303 #endif 303 #endif
304 }; 304 };
305 305
306 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_ 306 #endif // CHROME_BROWSER_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « app/gfx/font_util.cc ('k') | chrome/browser/sync/engine/syncer.cc » ('j') | chrome/chrome.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698