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

Side by Side Diff: chrome/browser/tab_contents/tab_contents.cc

Issue 200035: First cut at implementation of FindBar for views / gtk... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/tab_contents/tab_contents.h" 5 #include "chrome/browser/tab_contents/tab_contents.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/file_version_info.h" 9 #include "base/file_version_info.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 832
833 void TabContents::CloseAllSuppressedPopups() { 833 void TabContents::CloseAllSuppressedPopups() {
834 if (blocked_popups_) 834 if (blocked_popups_)
835 blocked_popups_->CloseAll(); 835 blocked_popups_->CloseAll();
836 } 836 }
837 837
838 void TabContents::PopupNotificationVisibilityChanged(bool visible) { 838 void TabContents::PopupNotificationVisibilityChanged(bool visible) {
839 render_view_host()->PopupNotificationVisibilityChanged(visible); 839 render_view_host()->PopupNotificationVisibilityChanged(visible);
840 } 840 }
841 841
842 gfx::NativeView TabContents::GetContentNativeView() { 842 gfx::NativeView TabContents::GetContentNativeView() const {
843 return view_->GetContentNativeView(); 843 return view_->GetContentNativeView();
844 } 844 }
845 845
846 gfx::NativeView TabContents::GetNativeView() const { 846 gfx::NativeView TabContents::GetNativeView() const {
847 return view_->GetNativeView(); 847 return view_->GetNativeView();
848 } 848 }
849 849
850 void TabContents::GetContainerBounds(gfx::Rect *out) const { 850 void TabContents::GetContainerBounds(gfx::Rect *out) const {
851 view_->GetContainerBounds(out); 851 view_->GetContainerBounds(out);
852 } 852 }
(...skipping 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after
2502 2502
2503 default: 2503 default:
2504 NOTREACHED(); 2504 NOTREACHED();
2505 } 2505 }
2506 } 2506 }
2507 2507
2508 void TabContents::set_encoding(const std::string& encoding) { 2508 void TabContents::set_encoding(const std::string& encoding) {
2509 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding); 2509 encoding_ = CharacterEncoding::GetCanonicalEncodingNameByAliasName(encoding);
2510 } 2510 }
2511 2511
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698