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

Unified Diff: chrome/browser/ui/confirm_bubble_model.cc

Issue 8697001: Implement confirm bubble for Mac. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_view.mm ('k') | chrome/browser/ui/views/confirm_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/confirm_bubble_model.cc
===================================================================
--- chrome/browser/ui/confirm_bubble_model.cc (revision 117328)
+++ chrome/browser/ui/confirm_bubble_model.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -8,11 +8,6 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
-#if defined(TOOLKIT_VIEWS)
-#include "chrome/browser/ui/views/confirm_bubble_view.h"
-#include "chrome/browser/ui/views/window.h"
-#endif
-
ConfirmBubbleModel::ConfirmBubbleModel() {
}
@@ -39,16 +34,3 @@
void ConfirmBubbleModel::LinkClicked() {
}
-
-void ConfirmBubbleModel::Show(gfx::NativeView view,
- const gfx::Point& origin,
- ConfirmBubbleModel* model) {
-#if defined(TOOLKIT_VIEWS)
- ConfirmBubbleView* bubble_view = new ConfirmBubbleView(origin, model);
- browser::CreateViewsBubble(bubble_view);
- bubble_view->Show();
-#else
- NOTIMPLEMENTED(); // Bug 99130: Implement it.
-#endif
-}
-
« no previous file with comments | « chrome/browser/ui/cocoa/confirm_bubble_view.mm ('k') | chrome/browser/ui/views/confirm_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698