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

Side by Side Diff: chrome/browser/debugger/devtools_window.h

Issue 6810018: Added support for opening urls from devtools window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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 | « no previous file | chrome/browser/debugger/devtools_window.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 GURL GetDevToolsUrl(); 68 GURL GetDevToolsUrl();
69 void UpdateTheme(); 69 void UpdateTheme();
70 void AddDevToolsExtensionsToClient(); 70 void AddDevToolsExtensionsToClient();
71 void CallClientFunction(const string16& function_name, 71 void CallClientFunction(const string16& function_name,
72 const Value& arg); 72 const Value& arg);
73 // Overridden from TabContentsDelegate. 73 // Overridden from TabContentsDelegate.
74 virtual void OpenURLFromTab(TabContents* source, 74 virtual void OpenURLFromTab(TabContents* source,
75 const GURL& url, 75 const GURL& url,
76 const GURL& referrer, 76 const GURL& referrer,
77 WindowOpenDisposition disposition, 77 WindowOpenDisposition disposition,
78 PageTransition::Type transition) {} 78 PageTransition::Type transition);
79 virtual void NavigationStateChanged(const TabContents* source, 79 virtual void NavigationStateChanged(const TabContents* source,
80 unsigned changed_flags) {} 80 unsigned changed_flags) {}
81 virtual void AddNewContents(TabContents* source, 81 virtual void AddNewContents(TabContents* source,
82 TabContents* new_contents, 82 TabContents* new_contents,
83 WindowOpenDisposition disposition, 83 WindowOpenDisposition disposition,
84 const gfx::Rect& initial_pos, 84 const gfx::Rect& initial_pos,
85 bool user_gesture); 85 bool user_gesture);
86 virtual void ActivateContents(TabContents* contents) {} 86 virtual void ActivateContents(TabContents* contents) {}
87 virtual void DeactivateContents(TabContents* contents) {} 87 virtual void DeactivateContents(TabContents* contents) {}
88 virtual void LoadingStateChanged(TabContents* source) {} 88 virtual void LoadingStateChanged(TabContents* source) {}
(...skipping 13 matching lines...) Expand all
102 TabContentsWrapper* tab_contents_; 102 TabContentsWrapper* tab_contents_;
103 Browser* browser_; 103 Browser* browser_;
104 bool docked_; 104 bool docked_;
105 bool is_loaded_; 105 bool is_loaded_;
106 DevToolsToggleAction action_on_load_; 106 DevToolsToggleAction action_on_load_;
107 NotificationRegistrar registrar_; 107 NotificationRegistrar registrar_;
108 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 108 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
109 }; 109 };
110 110
111 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 111 #endif // CHROME_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/debugger/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698