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

Side by Side Diff: chrome/browser/automation/testing_automation_provider_gtk.cc

Issue 6245006: Update references part 3: remaining files in chrome/...... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
1 // Copyright (c) 2010 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/automation/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/automation/automation_window_tracker.h" 11 #include "chrome/browser/automation/automation_window_tracker.h"
12 #include "chrome/browser/gtk/gtk_util.h" 12 #include "chrome/browser/ui/gtk/gtk_util.h"
13 #include "chrome/browser/gtk/view_id_util.h" 13 #include "chrome/browser/ui/gtk/view_id_util.h"
14 14
15 void TestingAutomationProvider::ActivateWindow(int handle) { 15 void TestingAutomationProvider::ActivateWindow(int handle) {
16 NOTIMPLEMENTED(); 16 NOTIMPLEMENTED();
17 } 17 }
18 18
19 void TestingAutomationProvider::IsWindowMaximized(int handle, 19 void TestingAutomationProvider::IsWindowMaximized(int handle,
20 bool* is_maximized, 20 bool* is_maximized,
21 bool* success) { 21 bool* success) {
22 *success = false; 22 *success = false;
23 NOTIMPLEMENTED(); 23 NOTIMPLEMENTED();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 } 90 }
91 *result = true; 91 *result = true;
92 } 92 }
93 } 93 }
94 94
95 void TestingAutomationProvider::GetWindowTitle(int handle, string16* text) { 95 void TestingAutomationProvider::GetWindowTitle(int handle, string16* text) {
96 gfx::NativeWindow window = window_tracker_->GetResource(handle); 96 gfx::NativeWindow window = window_tracker_->GetResource(handle);
97 const gchar* title = gtk_window_get_title(window); 97 const gchar* title = gtk_window_get_title(window);
98 text->assign(UTF8ToUTF16(title)); 98 text->assign(UTF8ToUTF16(title));
99 } 99 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_provider_gtk.cc ('k') | chrome/browser/automation/ui_controls_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698