| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/callback_forward.h" | 9 #include "base/callback_forward.h" |
| 10 #include "chrome/browser/lifetime/application_lifetime.h" | 10 #include "chrome/browser/lifetime/application_lifetime.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 // virtual void Show() = 0; | 89 // virtual void Show() = 0; |
| 90 | 90 |
| 91 // No BrowserWindow supports this BaseWindow function. | 91 // No BrowserWindow supports this BaseWindow function. |
| 92 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE {} | 92 virtual void SetDraggableRegion(SkRegion* region) OVERRIDE {} |
| 93 | 93 |
| 94 ////////////////////////////////////////////////////////////////////////////// | 94 ////////////////////////////////////////////////////////////////////////////// |
| 95 // Browser specific methods: | 95 // Browser specific methods: |
| 96 | 96 |
| 97 // Return a platform dependent identifier for this frame. On Windows, this | 97 // Return a platform dependent identifier for this frame. On Windows, this |
| 98 // returns an HWND. | 98 // returns an HWND. |
| 99 virtual gfx::NativeWindow GetNativeHandle() = 0; | 99 virtual gfx::NativeWindow GetNativeWindow() = 0; |
| 100 | 100 |
| 101 // Returns a pointer to the testing interface to the Browser window, or NULL | 101 // Returns a pointer to the testing interface to the Browser window, or NULL |
| 102 // if there is none. | 102 // if there is none. |
| 103 virtual BrowserWindowTesting* GetBrowserWindowTesting() = 0; | 103 virtual BrowserWindowTesting* GetBrowserWindowTesting() = 0; |
| 104 | 104 |
| 105 // Return the status bubble associated with the frame | 105 // Return the status bubble associated with the frame |
| 106 virtual StatusBubble* GetStatusBubble() = 0; | 106 virtual StatusBubble* GetStatusBubble() = 0; |
| 107 | 107 |
| 108 // Inform the receiving frame that an animation has progressed in the | 108 // Inform the receiving frame that an animation has progressed in the |
| 109 // selected tab. | 109 // selected tab. |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 | 424 |
| 425 // Returns the ToolbarView. | 425 // Returns the ToolbarView. |
| 426 virtual ToolbarView* GetToolbarView() const = 0; | 426 virtual ToolbarView* GetToolbarView() const = 0; |
| 427 #endif | 427 #endif |
| 428 | 428 |
| 429 protected: | 429 protected: |
| 430 virtual ~BrowserWindowTesting() {} | 430 virtual ~BrowserWindowTesting() {} |
| 431 }; | 431 }; |
| 432 | 432 |
| 433 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ | 433 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ |
| OLD | NEW |