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

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: Build fix for linux_view. 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
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..b0f446b0745170b3aa64b6869d1cddb1eda185c3 100644
--- a/chrome/browser/dom_ui/bug_report_ui.h
+++ b/chrome/browser/dom_ui/bug_report_ui.h
@@ -6,8 +6,23 @@
#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"
+#include "gfx/rect.h"
oshima 2010/12/02 18:03:30 You should be able to forward declarations for Win
rkc 2010/12/02 19:54:04 Done.
class TabContents;
+class NSWindow;
+
+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
oshima 2010/12/02 18:03:30 These are ugly. Ideally, screenshot code should be
oshima 2010/12/02 18:04:12 forgot to mention. please add comment and include
rkc 2010/12/02 19:54:04 Done.
rkc 2010/12/02 19:54:04 We can't remove MacOS since this file, even though
+} // namespace browser
oshima 2010/12/02 18:03:30 two spaces before //
rkc 2010/12/02 19:54:04 Done.
class BugReportUI : public HtmlDialogUI {
public:

Powered by Google App Engine
This is Rietveld 408576698