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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 8233029: More Aura fixes to build with chromeos==1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied sky's comments. Created 9 years, 2 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
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 #include "chrome/browser/ui/views/frame/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #if defined(TOOLKIT_USES_GTK) 7 #if defined(TOOLKIT_USES_GTK)
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 #endif 9 #endif
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 #elif defined(OS_WIN) 107 #elif defined(OS_WIN)
108 #include "chrome/browser/aeropeek_manager.h" 108 #include "chrome/browser/aeropeek_manager.h"
109 #include "chrome/browser/jumplist_win.h" 109 #include "chrome/browser/jumplist_win.h"
110 #include "ui/base/message_box_win.h" 110 #include "ui/base/message_box_win.h"
111 #include "ui/base/view_prop.h" 111 #include "ui/base/view_prop.h"
112 #include "views/widget/native_widget_win.h" 112 #include "views/widget/native_widget_win.h"
113 #elif defined(TOOLKIT_USES_GTK) 113 #elif defined(TOOLKIT_USES_GTK)
114 #include "chrome/browser/ui/views/accelerator_table_linux.h" 114 #include "chrome/browser/ui/views/accelerator_table_linux.h"
115 #include "views/window/hit_test.h" 115 #include "views/window/hit_test.h"
116 #if !defined(TOUCH_UI) 116 #if !defined(TOUCH_UI)
117 #include "chrome/browser/ui/views/handle_web_keyboard_event_gtk.h" 117 #include "chrome/browser/ui/views/handle_web_keyboard_event.h"
118 #endif 118 #endif
119 #endif 119 #endif
120 120
121 #if defined(OS_CHROMEOS) 121 #if defined(OS_CHROMEOS)
122 #include "chrome/browser/ui/views/keyboard_overlay_dialog_view.h" 122 #include "chrome/browser/ui/views/keyboard_overlay_dialog_view.h"
123 #else 123 #else
124 #include "chrome/browser/ui/views/download/download_shelf_view.h" 124 #include "chrome/browser/ui/views/download/download_shelf_view.h"
125 #endif 125 #endif
126 126
127 #if defined(TOUCH_UI) 127 #if defined(TOUCH_UI)
(...skipping 1145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 const gfx::Rect& bounds) { 1273 const gfx::Rect& bounds) {
1274 return NEW_POPUP; 1274 return NEW_POPUP;
1275 } 1275 }
1276 1276
1277 FindBar* BrowserView::CreateFindBar() { 1277 FindBar* BrowserView::CreateFindBar() {
1278 return browser::CreateFindBar(this); 1278 return browser::CreateFindBar(this);
1279 } 1279 }
1280 1280
1281 #if defined(OS_CHROMEOS) 1281 #if defined(OS_CHROMEOS)
1282 void BrowserView::ShowKeyboardOverlay(gfx::NativeWindow owning_window) { 1282 void BrowserView::ShowKeyboardOverlay(gfx::NativeWindow owning_window) {
1283 #if defined(TOOLKIT_USES_GTK)
1283 KeyboardOverlayDialogView::ShowDialog(owning_window, this); 1284 KeyboardOverlayDialogView::ShowDialog(owning_window, this);
1285 #else
1286 // TODO(saintlou): Add Keyboard Overlay for Aura: crbug.com/99858.
1287 NOTIMPLEMENTED();
1288 #endif
1284 } 1289 }
1285 #endif 1290 #endif
1286 1291
1287 /////////////////////////////////////////////////////////////////////////////// 1292 ///////////////////////////////////////////////////////////////////////////////
1288 // BrowserView, BrowserWindowTesting implementation: 1293 // BrowserView, BrowserWindowTesting implementation:
1289 1294
1290 BookmarkBarView* BrowserView::GetBookmarkBarView() const { 1295 BookmarkBarView* BrowserView::GetBookmarkBarView() const {
1291 return bookmark_bar_view_.get(); 1296 return bookmark_bar_view_.get();
1292 } 1297 }
1293 1298
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
2557 views::View::ConvertPointToScreen(GetTabContentsContainerView(), &origin); 2562 views::View::ConvertPointToScreen(GetTabContentsContainerView(), &origin);
2558 gfx::Rect bounds; 2563 gfx::Rect bounds;
2559 bounds.set_origin(origin); 2564 bounds.set_origin(origin);
2560 2565
2561 AvatarMenuBubbleView* bubble_view = new AvatarMenuBubbleView(browser_.get()); 2566 AvatarMenuBubbleView* bubble_view = new AvatarMenuBubbleView(browser_.get());
2562 // Bubble::Show() takes ownership of the view. 2567 // Bubble::Show() takes ownership of the view.
2563 Bubble::Show(this->GetWidget(), bounds, 2568 Bubble::Show(this->GetWidget(), bounds,
2564 views::BubbleBorder::TOP_RIGHT, 2569 views::BubbleBorder::TOP_RIGHT,
2565 bubble_view, bubble_view); 2570 bubble_view, bubble_view);
2566 } 2571 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system_key_event_listener.cc ('k') | chrome/browser/ui/views/handle_web_keyboard_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698