OLD | NEW |
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_BROWSER_UI_BROWSER_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/tab_contents/navigation_entry.h" | 9 #include "chrome/browser/tab_contents/navigation_entry.h" |
10 #include "chrome/common/content_settings_types.h" | 10 #include "chrome/common/content_settings_types.h" |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 virtual void ShowInstant(TabContents* preview_contents) = 0; | 323 virtual void ShowInstant(TabContents* preview_contents) = 0; |
324 | 324 |
325 // Invoked when the instant's tab contents should be hidden. | 325 // Invoked when the instant's tab contents should be hidden. |
326 virtual void HideInstant() = 0; | 326 virtual void HideInstant() = 0; |
327 | 327 |
328 // Returns the desired bounds for instant in screen coordinates. Note that if | 328 // Returns the desired bounds for instant in screen coordinates. Note that if |
329 // instant isn't currently visible this returns the bounds instant would be | 329 // instant isn't currently visible this returns the bounds instant would be |
330 // placed at. | 330 // placed at. |
331 virtual gfx::Rect GetInstantBounds() = 0; | 331 virtual gfx::Rect GetInstantBounds() = 0; |
332 | 332 |
| 333 #if defined(OS_CHROMEOS) |
| 334 // Shows the keyboard overlay dialog box. |
| 335 virtual void ShowKeyboardOverlay(gfx::NativeWindow owning_window) = 0; |
| 336 #endif |
| 337 |
333 // Construct a BrowserWindow implementation for the specified |browser|. | 338 // Construct a BrowserWindow implementation for the specified |browser|. |
334 static BrowserWindow* CreateBrowserWindow(Browser* browser); | 339 static BrowserWindow* CreateBrowserWindow(Browser* browser); |
335 | 340 |
336 // Construct a FindBar implementation for the specified |browser|. | 341 // Construct a FindBar implementation for the specified |browser|. |
337 static FindBar* CreateFindBar(Browser* browser_window); | 342 static FindBar* CreateFindBar(Browser* browser_window); |
338 | 343 |
339 protected: | 344 protected: |
340 friend class BrowserList; | 345 friend class BrowserList; |
341 friend class BrowserView; | 346 friend class BrowserView; |
342 virtual void DestroyBrowser() = 0; | 347 virtual void DestroyBrowser() = 0; |
(...skipping 29 matching lines...) Expand all Loading... |
372 | 377 |
373 // Returns the ToolbarView. | 378 // Returns the ToolbarView. |
374 virtual ToolbarView* GetToolbarView() const = 0; | 379 virtual ToolbarView* GetToolbarView() const = 0; |
375 #endif | 380 #endif |
376 | 381 |
377 protected: | 382 protected: |
378 virtual ~BrowserWindowTesting() {} | 383 virtual ~BrowserWindowTesting() {} |
379 }; | 384 }; |
380 | 385 |
381 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 386 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
OLD | NEW |