Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DOM_UI_PRINT_PREVIEW_UI_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_PRINT_PREVIEW_UI_H_ |
| 6 #define CHROME_BROWSER_DOM_UI_PRINT_PREVIEW_UI_H_ | 6 #define CHROME_BROWSER_DOM_UI_PRINT_PREVIEW_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include "chrome/browser/dom_ui/dom_ui.h" |
| 10 | 10 |
| 11 #include "chrome/browser/dom_ui/dom_ui.h" | 11 class PrintPreviewHandler; |
| 12 | |
| 13 namespace base { | |
| 14 class SharedMemory; | |
| 15 } | |
|
James Hawkins
2011/01/31 18:39:38
Comment the namespace.
Lei Zhang
2011/01/31 22:15:51
In the last round of style discussion at the begin
| |
| 12 | 16 |
| 13 class PrintPreviewUI : public DOMUI { | 17 class PrintPreviewUI : public DOMUI { |
| 14 public: | 18 public: |
| 15 explicit PrintPreviewUI(TabContents* contents); | 19 explicit PrintPreviewUI(TabContents* contents); |
| 16 virtual ~PrintPreviewUI(); | 20 virtual ~PrintPreviewUI(); |
| 17 | 21 |
| 22 PrintPreviewHandler* handler(); | |
| 23 | |
| 18 private: | 24 private: |
| 25 PrintPreviewHandler* handler_; | |
| 26 | |
| 19 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI); | 27 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI); |
| 20 }; | 28 }; |
| 21 | 29 |
| 22 #endif // CHROME_BROWSER_DOM_UI_PRINT_PREVIEW_UI_H_ | 30 #endif // CHROME_BROWSER_DOM_UI_PRINT_PREVIEW_UI_H_ |
| OLD | NEW |