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

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

Issue 27122: Another attempt at landing the new browser focus interactive ui tests (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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/browser_focus_uitest.cc ('k') | chrome/test/in_process_browser_test.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/browser_window.h" 9 #include "chrome/browser/browser_window.h"
10 #include "chrome/browser/hang_monitor/hung_plugin_action.h" 10 #include "chrome/browser/hang_monitor/hung_plugin_action.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 public: 46 public:
47 // Explicitly sets how windows are shown. Use a value of -1 to give the 47 // Explicitly sets how windows are shown. Use a value of -1 to give the
48 // default behavior. This is used during testing and not generally useful 48 // default behavior. This is used during testing and not generally useful
49 // otherwise. 49 // otherwise.
50 static void SetShowState(int state); 50 static void SetShowState(int state);
51 51
52 explicit BrowserView(Browser* browser); 52 explicit BrowserView(Browser* browser);
53 virtual ~BrowserView(); 53 virtual ~BrowserView();
54 54
55 void set_frame(BrowserFrame* frame) { frame_ = frame; } 55 void set_frame(BrowserFrame* frame) { frame_ = frame; }
56 BrowserFrame* frame() const { return frame_; }
56 57
57 // Returns a pointer to the BrowserView* interface implementation (an 58 // Returns a pointer to the BrowserView* interface implementation (an
58 // instance of this object, typically) for a given HWND, or NULL if there is 59 // instance of this object, typically) for a given HWND, or NULL if there is
59 // no such association. 60 // no such association.
60 static BrowserView* GetBrowserViewForHWND(HWND window); 61 static BrowserView* GetBrowserViewForHWND(HWND window);
61 62
62 // Returns the show flag that should be used to show the frame containing 63 // Returns the show flag that should be used to show the frame containing
63 // this view. 64 // this view.
64 int GetShowState() const; 65 int GetShowState() const;
65 66
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 bool personalization_enabled_; 464 bool personalization_enabled_;
464 #endif 465 #endif
465 466
466 // For debugging 7857. 467 // For debugging 7857.
467 bool is_removing_bookmark_bar_; 468 bool is_removing_bookmark_bar_;
468 469
469 DISALLOW_COPY_AND_ASSIGN(BrowserView); 470 DISALLOW_COPY_AND_ASSIGN(BrowserView);
470 }; 471 };
471 472
472 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_ 473 #endif // CHROME_BROWSER_VIEWS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_focus_uitest.cc ('k') | chrome/test/in_process_browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698