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

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

Issue 437077: Remember zoom on a per-host basis.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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/browser.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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_BROWSER_H_ 5 #ifndef CHROME_BROWSER_BROWSER_H_
6 #define CHROME_BROWSER_BROWSER_H_ 6 #define CHROME_BROWSER_BROWSER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/gfx/rect.h" 13 #include "base/gfx/rect.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/task.h" 15 #include "base/task.h"
16 #include "chrome/browser/command_updater.h" 16 #include "chrome/browser/command_updater.h"
17 #include "chrome/browser/sessions/session_id.h" 17 #include "chrome/browser/sessions/session_id.h"
18 #include "chrome/browser/shell_dialogs.h" 18 #include "chrome/browser/shell_dialogs.h"
19 #include "chrome/browser/tabs/tab_strip_model.h" 19 #include "chrome/browser/tabs/tab_strip_model.h"
20 #include "chrome/browser/tab_contents/page_navigator.h" 20 #include "chrome/browser/tab_contents/page_navigator.h"
21 #include "chrome/browser/tab_contents/tab_contents_delegate.h" 21 #include "chrome/browser/tab_contents/tab_contents_delegate.h"
22 #include "chrome/browser/toolbar_model.h" 22 #include "chrome/browser/toolbar_model.h"
23 #include "chrome/common/notification_registrar.h" 23 #include "chrome/common/notification_registrar.h"
24 #include "chrome/common/page_zoom.h"
24 #include "chrome/common/pref_member.h" 25 #include "chrome/common/pref_member.h"
25 #include "testing/gtest/include/gtest/gtest_prod.h" 26 #include "testing/gtest/include/gtest/gtest_prod.h"
26 27
27 class BrowserWindow; 28 class BrowserWindow;
28 class DebuggerWindow; 29 class DebuggerWindow;
29 class ExtensionShelfModel; 30 class ExtensionShelfModel;
30 class FindBarController; 31 class FindBarController;
31 class GoButton; 32 class GoButton;
32 class LocationBar; 33 class LocationBar;
33 class PrefService; 34 class PrefService;
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 void Copy(); 383 void Copy();
383 void Paste(); 384 void Paste();
384 #endif 385 #endif
385 386
386 // Find-in-page 387 // Find-in-page
387 void Find(); 388 void Find();
388 void FindNext(); 389 void FindNext();
389 void FindPrevious(); 390 void FindPrevious();
390 391
391 // Zoom 392 // Zoom
392 void ZoomIn(); 393 void Zoom(PageZoom::Function zoom_function);
393 void ZoomReset();
394 void ZoomOut();
395 394
396 // Focus various bits of UI 395 // Focus various bits of UI
397 void FocusToolbar(); 396 void FocusToolbar();
398 void FocusLocationBar(); 397 void FocusLocationBar();
399 void FocusSearch(); 398 void FocusSearch();
400 399
401 // Show various bits of UI 400 // Show various bits of UI
402 void OpenFile(); 401 void OpenFile();
403 void OpenCreateShortcutsDialog(); 402 void OpenCreateShortcutsDialog();
404 void ToggleDevToolsWindow(bool open_console); 403 void ToggleDevToolsWindow(bool open_console);
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 // Dialog box used for opening and saving files. 819 // Dialog box used for opening and saving files.
821 scoped_refptr<SelectFileDialog> select_file_dialog_; 820 scoped_refptr<SelectFileDialog> select_file_dialog_;
822 821
823 // Keep track of the encoding auto detect pref. 822 // Keep track of the encoding auto detect pref.
824 BooleanPrefMember encoding_auto_detect_; 823 BooleanPrefMember encoding_auto_detect_;
825 824
826 DISALLOW_COPY_AND_ASSIGN(Browser); 825 DISALLOW_COPY_AND_ASSIGN(Browser);
827 }; 826 };
828 827
829 #endif // CHROME_BROWSER_BROWSER_H_ 828 #endif // CHROME_BROWSER_BROWSER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698