| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__ | 5 #ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__ |
| 6 #define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__ | 6 #define CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__ |
| 7 | 7 |
| 8 #include "chrome/browser/views/options/options_page_view.h" | 8 #include "chrome/browser/views/options/options_page_view.h" |
| 9 #include "chrome/browser/shell_dialogs.h" | 9 #include "chrome/browser/shell_dialogs.h" |
| 10 #include "chrome/common/pref_member.h" | 10 #include "chrome/common/pref_member.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 public views::ButtonListener, | 27 public views::ButtonListener, |
| 28 public SelectFileDialog::Listener { | 28 public SelectFileDialog::Listener { |
| 29 public: | 29 public: |
| 30 explicit ContentPageView(Profile* profile); | 30 explicit ContentPageView(Profile* profile); |
| 31 virtual ~ContentPageView(); | 31 virtual ~ContentPageView(); |
| 32 | 32 |
| 33 // views::ButtonListener implementation: | 33 // views::ButtonListener implementation: |
| 34 virtual void ButtonPressed(views::Button* sender); | 34 virtual void ButtonPressed(views::Button* sender); |
| 35 | 35 |
| 36 // SelectFileDialog::Listener implementation: | 36 // SelectFileDialog::Listener implementation: |
| 37 virtual void FileSelected(const std::wstring& path, void* params); | 37 virtual void FileSelected(const std::wstring& path, int index, void* params); |
| 38 | 38 |
| 39 // OptionsPageView implementation: | 39 // OptionsPageView implementation: |
| 40 virtual bool CanClose() const; | 40 virtual bool CanClose() const; |
| 41 | 41 |
| 42 protected: | 42 protected: |
| 43 // OptionsPageView implementation: | 43 // OptionsPageView implementation: |
| 44 virtual void InitControlLayout(); | 44 virtual void InitControlLayout(); |
| 45 virtual void NotifyPrefChanged(const std::wstring* pref_name); | 45 virtual void NotifyPrefChanged(const std::wstring* pref_name); |
| 46 | 46 |
| 47 // views::View overrides: | 47 // views::View overrides: |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 | 88 |
| 89 StringPrefMember default_download_location_; | 89 StringPrefMember default_download_location_; |
| 90 BooleanPrefMember ask_for_save_location_; | 90 BooleanPrefMember ask_for_save_location_; |
| 91 BooleanPrefMember ask_to_save_passwords_; | 91 BooleanPrefMember ask_to_save_passwords_; |
| 92 BooleanPrefMember form_autofill_; | 92 BooleanPrefMember form_autofill_; |
| 93 | 93 |
| 94 DISALLOW_EVIL_CONSTRUCTORS(ContentPageView); | 94 DISALLOW_EVIL_CONSTRUCTORS(ContentPageView); |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__ | 97 #endif // #ifndef CHROME_BROWSER_VIEWS_OPTIONS_CONTENT_PAGE_VIEW_H__ |
| OLD | NEW |