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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 7309006: Disable encoding menu item for chrome://bookmarks (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
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser.cc » ('J')
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_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 virtual void CommitInstant(TabContentsWrapper* preview_contents) OVERRIDE; 922 virtual void CommitInstant(TabContentsWrapper* preview_contents) OVERRIDE;
923 virtual void SetSuggestedText(const string16& text, 923 virtual void SetSuggestedText(const string16& text,
924 InstantCompleteBehavior behavior) OVERRIDE; 924 InstantCompleteBehavior behavior) OVERRIDE;
925 virtual gfx::Rect GetInstantBounds() OVERRIDE; 925 virtual gfx::Rect GetInstantBounds() OVERRIDE;
926 926
927 // Command and state updating /////////////////////////////////////////////// 927 // Command and state updating ///////////////////////////////////////////////
928 928
929 // Initialize state for all browser commands. 929 // Initialize state for all browser commands.
930 void InitCommandState(); 930 void InitCommandState();
931 931
932 // Returns |true| if entry has an internal chrome:// URL.
933 bool HasInternalURL(const NavigationEntry *entry) const;
brettw 2011/07/06 16:55:24 It looks like this doesn't actually have to be a m
Alexei Svitkine (slow) 2011/07/06 19:00:05 Done.
934
932 // Update commands whose state depends on the tab's state. 935 // Update commands whose state depends on the tab's state.
933 void UpdateCommandsForTabState(); 936 void UpdateCommandsForTabState();
934 937
935 // Updates commands when the content's restrictions change. 938 // Updates commands when the content's restrictions change.
936 void UpdateCommandsForContentRestrictionState(); 939 void UpdateCommandsForContentRestrictionState();
937 940
938 // Updates commands for enabling developer tools. 941 // Updates commands for enabling developer tools.
939 void UpdateCommandsForDevTools(); 942 void UpdateCommandsForDevTools();
940 943
941 // Updates commands for bookmark editing. 944 // Updates commands for bookmark editing.
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 1267
1265 scoped_ptr<InstantController> instant_; 1268 scoped_ptr<InstantController> instant_;
1266 scoped_ptr<InstantUnloadHandler> instant_unload_handler_; 1269 scoped_ptr<InstantUnloadHandler> instant_unload_handler_;
1267 1270
1268 BookmarkBar::State bookmark_bar_state_; 1271 BookmarkBar::State bookmark_bar_state_;
1269 1272
1270 DISALLOW_COPY_AND_ASSIGN(Browser); 1273 DISALLOW_COPY_AND_ASSIGN(Browser);
1271 }; 1274 };
1272 1275
1273 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1276 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698