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

Side by Side Diff: chrome/test/test_browser_window.h

Issue 3417011: Makes match preview send the dimensions of the omnibox to the page. (Closed)
Patch Set: Fix unittest Created 10 years, 3 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
« no previous file with comments | « chrome/browser/views/location_bar/location_bar_view.cc ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_TEST_TEST_BROWSER_WINDOW_H_ 5 #ifndef CHROME_TEST_TEST_BROWSER_WINDOW_H_
6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_ 6 #define CHROME_TEST_TEST_BROWSER_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/browser.h" 9 #include "chrome/browser/browser.h"
10 #include "chrome/browser/browser_window.h" 10 #include "chrome/browser/browser_window.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const GURL& url, 98 const GURL& url,
99 const NavigationEntry::SSLStatus& ssl, 99 const NavigationEntry::SSLStatus& ssl,
100 bool show_history) {} 100 bool show_history) {}
101 virtual void Cut() {} 101 virtual void Cut() {}
102 virtual void Copy() {} 102 virtual void Copy() {}
103 virtual void Paste() {} 103 virtual void Paste() {}
104 virtual void ToggleTabStripMode() {} 104 virtual void ToggleTabStripMode() {}
105 virtual void OpenTabpose() {} 105 virtual void OpenTabpose() {}
106 virtual void ShowMatchPreview() {} 106 virtual void ShowMatchPreview() {}
107 virtual void HideMatchPreview() {} 107 virtual void HideMatchPreview() {}
108 virtual gfx::Rect GetMatchPreviewBounds() { return gfx::Rect(); }
108 109
109 protected: 110 protected:
110 virtual void DestroyBrowser() {} 111 virtual void DestroyBrowser() {}
111 112
112 private: 113 private:
113 TestLocationBar location_bar_; 114 TestLocationBar location_bar_;
114 115
115 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); 116 DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow);
116 }; 117 };
117 118
118 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_ 119 #endif // CHROME_TEST_TEST_BROWSER_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/location_bar/location_bar_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698