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

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

Issue 7322008: Enable clear cache/cookies support in developer tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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
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 CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual void AddNewContents(TabContents* source, 79 virtual void AddNewContents(TabContents* source,
80 TabContents* new_contents, 80 TabContents* new_contents,
81 WindowOpenDisposition disposition, 81 WindowOpenDisposition disposition,
82 const gfx::Rect& initial_pos, 82 const gfx::Rect& initial_pos,
83 bool user_gesture); 83 bool user_gesture);
84 virtual void CloseContents(TabContents* source) {} 84 virtual void CloseContents(TabContents* source) {}
85 virtual bool CanReloadContents(TabContents* source) const; 85 virtual bool CanReloadContents(TabContents* source) const;
86 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, 86 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event,
87 bool* is_keyboard_shortcut); 87 bool* is_keyboard_shortcut);
88 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); 88 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
89 virtual content::JavaScriptDialogCreator* GetJavaScriptDialogCreator();
89 90
90 virtual void FrameNavigating(const std::string& url) {} 91 virtual void FrameNavigating(const std::string& url) {}
91 92
92 Profile* profile_; 93 Profile* profile_;
93 TabContentsWrapper* inspected_tab_; 94 TabContentsWrapper* inspected_tab_;
94 TabContentsWrapper* tab_contents_; 95 TabContentsWrapper* tab_contents_;
95 Browser* browser_; 96 Browser* browser_;
96 bool docked_; 97 bool docked_;
97 bool is_loaded_; 98 bool is_loaded_;
98 DevToolsToggleAction action_on_load_; 99 DevToolsToggleAction action_on_load_;
99 NotificationRegistrar registrar_; 100 NotificationRegistrar registrar_;
100 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow); 101 DISALLOW_COPY_AND_ASSIGN(DevToolsWindow);
101 }; 102 };
102 103
103 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_ 104 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_WINDOW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698