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

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

Issue 5514001: Crash fix + OS specific ss's enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved TODO to the h file from the cc file. Created 10 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/dom_ui/bug_report_ui.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) 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_DOM_UI_BUG_REPORT_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_BUG_REPORT_UI_H_
6 #define CHROME_BROWSER_DOM_UI_BUG_REPORT_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_BUG_REPORT_UI_H_
7 7
8 #include "chrome/browser/dom_ui/html_dialog_ui.h" 8 #include "chrome/browser/dom_ui/html_dialog_ui.h"
9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/views/window.h"
11
12 namespace gfx {
13 class Rect;
14 } // namespace gfx
9 15
10 class TabContents; 16 class TabContents;
17 class NSWindow;
18
19
20 // TODO(rkc): The following code is very ugly and needs to be refactored.
21 // http://code.google.com/p/chromium/issues/detail?id=65119
22 namespace browser {
23 #if defined(TOOLKIT_VIEWS)
24 void ShowHtmlBugReportView(views::Window* parent, Browser* browser);
25 #elif defined(OS_LINUX)
26 void ShowHtmlBugReportView(gfx::NativeWindow window, const gfx::Rect& bounds,
27 Browser* browser);
28 #elif defined(OS_MACOSX)
29 void ShowHtmlBugReportView(NSWindow* window, Browser* browser);
30 #endif
31 } // namespace browser
11 32
12 class BugReportUI : public HtmlDialogUI { 33 class BugReportUI : public HtmlDialogUI {
13 public: 34 public:
14 explicit BugReportUI(TabContents* contents); 35 explicit BugReportUI(TabContents* contents);
15 private: 36 private:
16 37
17 DISALLOW_COPY_AND_ASSIGN(BugReportUI); 38 DISALLOW_COPY_AND_ASSIGN(BugReportUI);
18 }; 39 };
19 40
20 #endif // CHROME_BROWSER_DOM_UI_BUG_REPORT_UI_H_ 41 #endif // CHROME_BROWSER_DOM_UI_BUG_REPORT_UI_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/dom_ui/bug_report_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698