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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/bug_report_ui.h
diff --git a/chrome/browser/dom_ui/bug_report_ui.h b/chrome/browser/dom_ui/bug_report_ui.h
index 907dbb27f622085035ce002871c28b908125a779..31d9eaeaf1d36519c7e68012acf57140b7eed719 100644
--- a/chrome/browser/dom_ui/bug_report_ui.h
+++ b/chrome/browser/dom_ui/bug_report_ui.h
@@ -6,8 +6,29 @@
#define CHROME_BROWSER_DOM_UI_BUG_REPORT_UI_H_
#include "chrome/browser/dom_ui/html_dialog_ui.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/browser/ui/views/window.h"
+
+namespace gfx {
+class Rect;
+} // namespace gfx
class TabContents;
+class NSWindow;
+
+
+// TODO(rkc): The following code is very ugly and needs to be refactored.
+// http://code.google.com/p/chromium/issues/detail?id=65119
+namespace browser {
+#if defined(TOOLKIT_VIEWS)
+void ShowHtmlBugReportView(views::Window* parent, Browser* browser);
+#elif defined(OS_LINUX)
+void ShowHtmlBugReportView(gfx::NativeWindow window, const gfx::Rect& bounds,
+ Browser* browser);
+#elif defined(OS_MACOSX)
+void ShowHtmlBugReportView(NSWindow* window, Browser* browser);
+#endif
+} // namespace browser
class BugReportUI : public HtmlDialogUI {
public:
« 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