| 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_DEBUGGER_DEVTOOLS_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ |
| 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ | 6 #define CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 virtual void CloseContents(TabContents* source) {} | 88 virtual void CloseContents(TabContents* source) {} |
| 89 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} | 89 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} |
| 90 virtual bool CanReloadContents(TabContents* source) const; | 90 virtual bool CanReloadContents(TabContents* source) const; |
| 91 virtual void URLStarredChanged(TabContents* source, bool starred) {} | 91 virtual void URLStarredChanged(TabContents* source, bool starred) {} |
| 92 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} | 92 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} |
| 93 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} | 93 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} |
| 94 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 94 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
| 95 bool* is_keyboard_shortcut); | 95 bool* is_keyboard_shortcut); |
| 96 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); | 96 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
| 97 | 97 |
| 98 virtual void FrameNavigating(const std::string& url) {} |
| 99 |
| 98 Profile* profile_; | 100 Profile* profile_; |
| 99 TabContents* inspected_tab_; | 101 TabContents* inspected_tab_; |
| 100 TabContentsWrapper* tab_contents_; | 102 TabContentsWrapper* tab_contents_; |
| 101 Browser* browser_; | 103 Browser* browser_; |
| 102 bool docked_; | 104 bool docked_; |
| 103 bool is_loaded_; | 105 bool is_loaded_; |
| 104 DevToolsToggleAction action_on_load_; | 106 DevToolsToggleAction action_on_load_; |
| 105 NotificationRegistrar registrar_; | 107 NotificationRegistrar registrar_; |
| 106 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); | 108 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); |
| 107 }; | 109 }; |
| 108 | 110 |
| 109 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ | 111 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ |
| OLD | NEW |