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

Side by Side Diff: chrome/browser/chromeos/login/simple_web_view_dialog.cc

Issue 10533046: TabContentsWrapper -> TabContents, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compiling is good Created 8 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chromeos/login/simple_web_view_dialog.h" 5 #include "chrome/browser/chromeos/login/simple_web_view_dialog.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/shell_window_ids.h" 8 #include "ash/shell_window_ids.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 NOTIMPLEMENTED(); 260 NOTIMPLEMENTED();
261 return NULL; 261 return NULL;
262 } 262 }
263 263
264 void SimpleWebViewDialog::LoadingStateChanged(WebContents* source) { 264 void SimpleWebViewDialog::LoadingStateChanged(WebContents* source) {
265 bool is_loading = source->IsLoading(); 265 bool is_loading = source->IsLoading();
266 UpdateReload(is_loading, false); 266 UpdateReload(is_loading, false);
267 command_updater_->UpdateCommandEnabled(IDC_STOP, is_loading); 267 command_updater_->UpdateCommandEnabled(IDC_STOP, is_loading);
268 } 268 }
269 269
270 TabContentsWrapper* SimpleWebViewDialog::GetTabContentsWrapper() const { 270 TabContents* SimpleWebViewDialog::GetTabContents() const {
271 return NULL; 271 return NULL;
272 } 272 }
273 273
274 InstantController* SimpleWebViewDialog::GetInstant() { 274 InstantController* SimpleWebViewDialog::GetInstant() {
275 return NULL; 275 return NULL;
276 } 276 }
277 277
278 views::Widget* SimpleWebViewDialog::CreateViewsBubble( 278 views::Widget* SimpleWebViewDialog::CreateViewsBubble(
279 views::BubbleDelegateView* bubble_delegate) { 279 views::BubbleDelegateView* bubble_delegate) {
280 return views::BubbleDelegateView::CreateBubble(bubble_delegate); 280 return views::BubbleDelegateView::CreateBubble(bubble_delegate);
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 396
397 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) { 397 void SimpleWebViewDialog::UpdateReload(bool is_loading, bool force) {
398 if (reload_) { 398 if (reload_) {
399 reload_->ChangeMode( 399 reload_->ChangeMode(
400 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD, 400 is_loading ? ReloadButton::MODE_STOP : ReloadButton::MODE_RELOAD,
401 force); 401 force);
402 } 402 }
403 } 403 }
404 404
405 } // namespace chromeos 405 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/simple_web_view_dialog.h ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698