summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/dev_tools_controller.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 18:46:16 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-02 18:46:16 +0000
commitf87919d70dd8ec6cacf8de22ad670466fc035574 (patch)
treee9697299edad96c759ff87332dabb47c6defbfaa /chrome/browser/ui/cocoa/dev_tools_controller.h
parent2cbcdca119f009bdf15608eebd9d3322d08e0861 (diff)
downloadchromium_src-f87919d70dd8ec6cacf8de22ad670466fc035574.zip
chromium_src-f87919d70dd8ec6cacf8de22ad670466fc035574.tar.gz
chromium_src-f87919d70dd8ec6cacf8de22ad670466fc035574.tar.bz2
Remove user-related data from local_state and add to user_preferences, in preparation for multi-profile.
devtools kDevToolsSplitLocation browser kBrowserWindowPlacement Also add a method to browser_prefs to delete obsolete preferences from local state, and fix all related tests. BUG=66717 TEST=all browser, interactive, and ui tests work properly Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72153 Review URL: http://codereview.chromium.org/5915006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/dev_tools_controller.h')
-rw-r--r--chrome/browser/ui/cocoa/dev_tools_controller.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/dev_tools_controller.h b/chrome/browser/ui/cocoa/dev_tools_controller.h
index a976884..e8fa567 100644
--- a/chrome/browser/ui/cocoa/dev_tools_controller.h
+++ b/chrome/browser/ui/cocoa/dev_tools_controller.h
@@ -14,11 +14,12 @@
@class NSSplitView;
@class NSView;
+class Profile;
class TabContents;
// A class that handles updates of the devTools view within a browser window.
// It swaps in the relevant devTools contents for a given TabContents or removes
-// the vew, if there's no devTools contents to show.
+// the view, if there's no devTools contents to show.
@interface DevToolsController : NSObject {
@private
// A view hosting docked devTools contents.
@@ -40,7 +41,8 @@ class TabContents;
// Depending on |contents|'s state, decides whether the docked web inspector
// should be shown or hidden and adjusts its height (|delegate_| handles
// the actual resize).
-- (void)updateDevToolsForTabContents:(TabContents*)contents;
+- (void)updateDevToolsForTabContents:(TabContents*)contents
+ withProfile:(Profile*)profile;
// Call when the devTools view is properly sized and the render widget host view
// should be put into the view hierarchy.