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

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

Issue 6575054: WebUI: Move the core files of WebUI from chrome/browser/webui to content/webui. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 10 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 | « chrome/browser/webui/print_preview_handler.h ('k') | chrome/browser/webui/remoting_ui.h » ('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) 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_WEBUI_PRINT_PREVIEW_UI_H_ 5 #ifndef CHROME_BROWSER_WEBUI_PRINT_PREVIEW_UI_H_
6 #define CHROME_BROWSER_WEBUI_PRINT_PREVIEW_UI_H_ 6 #define CHROME_BROWSER_WEBUI_PRINT_PREVIEW_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "chrome/browser/webui/web_ui.h" 10 #include "content/browser/webui/web_ui.h"
11 11
12 class PrintPreviewUIHTMLSource; 12 class PrintPreviewUIHTMLSource;
13 13
14 class PrintPreviewUI : public WebUI { 14 class PrintPreviewUI : public WebUI {
15 public: 15 public:
16 explicit PrintPreviewUI(TabContents* contents); 16 explicit PrintPreviewUI(TabContents* contents);
17 virtual ~PrintPreviewUI(); 17 virtual ~PrintPreviewUI();
18 18
19 PrintPreviewUIHTMLSource* html_source(); 19 PrintPreviewUIHTMLSource* html_source();
20 20
21 // Notify the Web UI renderer that preview data is available. 21 // Notify the Web UI renderer that preview data is available.
22 // |expected_pages_count| specifies the total number of pages. 22 // |expected_pages_count| specifies the total number of pages.
23 void PreviewDataIsAvailable(int expected_pages_count); 23 void PreviewDataIsAvailable(int expected_pages_count);
24 24
25 private: 25 private:
26 scoped_refptr<PrintPreviewUIHTMLSource> html_source_; 26 scoped_refptr<PrintPreviewUIHTMLSource> html_source_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI); 28 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI);
29 }; 29 };
30 30
31 #endif // CHROME_BROWSER_WEBUI_PRINT_PREVIEW_UI_H_ 31 #endif // CHROME_BROWSER_WEBUI_PRINT_PREVIEW_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/webui/print_preview_handler.h ('k') | chrome/browser/webui/remoting_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698